Post Promote
The entire URL for the task is returned in the Location header of the response.
- Note: The promote action requires that no healthy primary currently exists in the HA cluster.
Request
URI
POST
https://{api_host}/api/1.0.0/nodes/{node-name}/promote
COPY
Path Parameters
string
node-name
Required
name of the node which is being promoted
Responses
202
Response Body is empty. Response includes Location header with URL to related task-id. Note: cell-type appliance nodes will give this response, but the spawned task will always fail on these nodes.
Operation doesn't return any data structure
Response Headers
string
Location
Task URL. Example: https://<vcd-appliance-ip>:5480/api/1.0.0/tasks/<task-id>
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' https://{api_host}/api/1.0.0/nodes/{node-name}/promote