ClustersServers API
Use the ClustersServers API when you need to restart a server in a cluster. When a server is restarted, the current server is terminated and a new server automatically starts.
You can find Server information in the servers
field of a ClusterStatus object.
All URIs are relative to
https://{vanity_domain}.implycloud.com/api/v1
Replace a server in a cluster
URL
DELETE /clusters/{clusterId}/servers/{instanceId}
Parameters
Path parameters
clusterId
type: String required
The cluster IDinstanceId
type: String required
The server's instance ID
Responses
Request accepted.
Invalid request payload.
Example body:
{
"error" : {
"code" : "BadArgument",
"message" : "Invalid Specification",
}
}
Unauthorized.
Example body:
{
"error" : {
"code" : "Unauthorized",
"message" : "Provided user does not have permissions to complete this request"
}
}
Not found.
Example body:
{
"error" : {
"code" : "NotFound",
"message" : "Cluster [e9e1e18f-a9e8-4dd7-8a18-768039c57f22] was not found"
}
}
Sample request
curl --location --request DELETE 'https://{vanity_domain}.implycloud.com/api/v1/clusters/<clusterId>/servers/<instanceId>' \
--header 'Authorization: Bearer <Bearer Token>'