Skip to main content
PUT
Resize the gateway

Authorizations

Authorization
string
header
required

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

Path Parameters

cluster_id
string<uuid>
required

Query Parameters

wait
boolean
default:false

true runs the write inline and answers its result; the default queues it and answers 202 once its first verdict is in (or after a few seconds), with a refusal decided in that window answered as it would be inline.

Body

application/json
instance_type
string
required

The new instance type (server type, size, flavor or plan) of the bastion or gateway.

Minimum string length: 1

Response

The resize was written (wait=true)

node_id
string
required
kind
string
required

The bastion or gateway resource kind, e.g. hetzner_bastion.

name
string
required
instance_type
string
required
operation_id
string | null
required

Operation carrying the cloud resize; poll it to know when the node is back. Null when the write scheduled no work.