Skip to main content
POST
Resize a Server

Authorizations

Authorization
string
header
required

API token from Dashboard > Settings > API Tokens.

Path Parameters

server_id
string<uuid>
required

Body

application/json
plan
string
required

Plan slug from GET /servers/{server_id}/resize-options.

Pattern: ^[A-Za-z0-9][A-Za-z0-9_.-]{0,49}$
expected_amount

The quoted amount_due_today; a changed price returns 409 price_changed. Omit to accept the current price.

Required range: x >= 0

Response

Successful Response

status
enum<string>
required
Available options:
applied,
pending_payment
resize_id
string<uuid>
required
invoice_id
string<uuid> | null
required
invoice_number
string | null
required
amount
number
required

Charged now, in USD.

to_plan
string
required
restart_required
boolean
required

True if the server must be started to use the new size.