It is time to say goodbye: This version of Elastic Cloud Enterprise has reached end-of-life (EOL) and is no longer supported.
The documentation for this version is no longer being maintained. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Reorder security realmsedit
Reorder security realms.
Requestedit
POST /api/v1/platform/configuration/security/realms/_reorder
Request bodyedit
(SecurityRealmsReorderRequest
) (required) The reorder request
Responsesedit
-
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 exampleedit
curl -XPOST https://{{hostname}}/api/v1/platform/configuration/security/realms/_reorder \ -H "Authorization: ApiKey $ECE_API_KEY" \ -d ' { "realms" : [ "string" ] } '