Demote a coordinator
Demotes a coordinator.
Path parameters
-
The identifier for the coordinator
Responses
-
Accepted demote of coordinator.
Additional properties are allowed.
-
The coordinator specified by {coordinator_id} could not be demoted. (code:
coordinators.coordinator_demote_failed
) -
Unable to find the coordinator {coordinator_id}. Edit your request, then try again. (code:
coordinators.coordinator_not_found
)
POST /platform/infrastructure/coordinators/{coordinator_id}/_demote
curl \
-X POST https://{{hostname}}/api/v1/platform/infrastructure/coordinators/{coordinator_id}/_demote
Response examples (200)
{}
Response examples (400)
# Headers
x-cloud-error-codes: coordinators.coordinator_demote_failed
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Response examples (404)
# Headers
x-cloud-error-codes: coordinators.coordinator_not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}