Skip to main content

Change Machine

Changing the machine type of your cluster allows you to scale vertically (adding more or reducing power per node). You can either increase the power of the machine, or reduce it.

Change the cluster machine

Provide the API with a cluster slug and the machine ID which you can get from the Machines section.

curl -X 'PATCH' \
'https://api.gigapipe.com/v1/clusters/<your_cluster_slug>/machine' \
-H 'accept: application/json' \
-H 'Authorization: Bearer <your_access_token>' \
-H 'Content-Type: application/json' \
-d '{"machine_id": 2}'
# Payload response ::Dictionary
{
"message": "Changing machine in cluster <cluster-test>..."
}

Change machine payload

Attributes


machine_id  ::Integer

The ID of the machine you wish to scale to. A list of which you can get from the Machines section


Change machine response

Attributes


message  ::String

A basic response message