Reorder security realms

edit

Reorder security realms.

Request

edit

POST /api/v1/platform/configuration/security/realms/_reorder

Request body

edit

(SecurityRealmsReorderRequest) (required) The reorder request

Responses

edit
200

(EmptyResponse) The reorder request was successful

400

(BasicFailedReply) * Invalid ids . (code: security_realm.invalid_ids) * Missing ids . (code: security_realm.missing_ids)

Headers

x-cloud-error-codes (string; allowed values: [security_realm.invalid_ids, security_realm.missing_ids])
The error codes associated with the response
449

(BasicFailedReply) Elevated permissions are required. (code: root.unauthorized.rbac.elevated_permissions_required)

Headers

x-cloud-error-codes (string; allowed values: [root.unauthorized.rbac.elevated_permissions_required])
The error codes associated with the response

To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.

Request example

edit
curl -XPOST {{hostname}}/api/v1/platform/configuration/security/realms/_reorder \
-H "Authorization: ApiKey $ECE_API_KEY" \
-H 'Content-Type: application/json' \
-d '
{
   "realms" : [
      "string"
   ]
}
'