A newer version is available. For the latest information, see the
current release documentation.
Promote a coordinator candidate
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Promote a coordinator candidate
editPromotes a coordinator candidate.
Request
editPOST /api/v1/platform/infrastructure/coordinators/candidates/{coordinator_candidate_id}/_promote
Path parameters
edit| Name | Type | Required | Description |
|---|---|---|---|
|
|
Y |
The identifier for the coordinator candidate |
Responses
edit-
202 -
Accepted promote of coordinator candidate.
-
404 -
Unable to find coordinator candidate {coordinator_id}. Edit your request, then try again. (code:
coordinators.candidate_not_found)Headers
-
x-cloud-error-codes(string; allowed values: [coordinators.candidate_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/candidates/{coordinator_candidate_id}/_promote \
-H "Authorization: ApiKey $ECE_API_KEY"