Skip to main content
PUT
Update Instance Type Endpoint

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Path Parameters

cluster_id
string<uuid>
required
vm_id
string<uuid>
required

Query Parameters

wait
boolean
default:false

Body

application/json
instance_type
string
required

The new instance type for every node in the group. Changing it power-cycles each node, so the nodes are rolled in bounded lanes and each is drained before it goes down.

force_drain
boolean
default:false

Bypass PodDisruptionBudgets when draining each node before it is power-cycled. Off by default: a budget is a workload owner's stated availability requirement.

Response

Successful Response

id
string<uuid>
required
name
string
required
instance_type
string
required
operation_id
string | null
required