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 realms
editReorder security realms
editReorder security realms.
Request
editPOST /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
-
Request example
editcurl -XPOST https://{{hostname}}/api/v1/platform/configuration/security/realms/_reorder \ -H "Authorization: ApiKey $ECE_API_KEY" \ -H 'Content-Type: application/json' \ -d ' { "realms" : [ "string" ] } '