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. NOTE: This is a beta feature.
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
) -
449
-
(
BasicFailedReply
) Elevated permissions are required. (code:root.unauthorized.rbac.elevated_permissions_required
)
To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.
Request example
editcurl -XPOST {{hostname}}/api/v1/platform/configuration/security/realms/_reorder \ -u $CLOUD_USER:$CLOUD_KEY \ -H 'Content-Type: application/json' \ -d ' { "realms" : [ "string" ] } '