THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
The Cluster REST API is used to expand and shrink the cluster size using the /api/cluster/flexup
and flexdown
URI.
HTTP Method and URI
PUT /api/cluster/flexup // Expands the size of the cluster. PUT /api/cluster/flexdown // Shrinks the size of the cluster.
Request Examples
The following request example expands the size of the cluster.
{ "instances":1, "profile": "small" }
The following request example shrinks the size of the cluster.
{ "instances":1 }
Response Example
200 ok