Demote a coordinatoredit

Demotes a coordinator.

Requestedit

POST /api/v1/platform/infrastructure/coordinators/{coordinator_id}/_demote

Path parametersedit

Name Type Required Description

coordinator_id

string

Y

The identifier for the coordinator

Responsesedit

200

(EmptyResponse)

Accepted demote of coordinator.

400

(BasicFailedReply)

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

(BasicFailedReply)

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

(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 exampleedit

curl -XPOST https://{{hostname}}/api/v1/platform/infrastructure/coordinators/{coordinator_id}/_demote \
-H "Authorization: ApiKey $ECE_API_KEY"