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' \
'<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


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


message  ::String

A basic response message