Demote a coordinator

edit

Demotes a coordinator.

Request

edit

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

Path parameters

edit
Name Type Required Description

coordinator_id

string

Y

The identifier for the coordinator

Responses

edit
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

Request example

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