A newer version is available. For the latest information, see the
current release documentation.
Demote a coordinator
editDemote a coordinator
editDemotes a coordinator.
Request
editPOST /api/v1/platform/infrastructure/coordinators/{coordinator_id}/_demote
Path parameters
editName | Type | Required | Description |
---|---|---|---|
|
|
Y |
The identifier for the coordinator |
Responses
edit-
200
-
Accepted demote of coordinator.
-
400
-
The coordinator specified by {coordinator_id} could not be demoted. (code:
coordinators.coordinator_demote_failed
)Headers
-
x-cloud-error-codes
(string
; allowed values: [coordinators.coordinator_demote_failed
]) - The error codes associated with the response
-
-
404
-
Unable to find the coordinator {coordinator_id}. Edit your request, then try again. (code:
coordinators.coordinator_not_found
)Headers
-
x-cloud-error-codes
(string
; allowed values: [coordinators.coordinator_not_found
]) - The error codes associated with the response
-
-
449
-
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/infrastructure/coordinators/{coordinator_id}/_demote \ -H "Authorization: ApiKey $ECE_API_KEY"