CubePathDOCS
VPS

Upgrade/downgrade server

post/vps/resize/vps_id/{vps_id}/resize_plan/{resize_plan}

Change your server's resources by switching to a different plan. Upgrade for more power or downgrade to save costs.

Authorization

Authorization
Authorization*string

Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.

Path parameters

vps_id*integer
Range1 ≤ value
resize_plan*string

Query parameters

grow_disk?boolean

Also grow the boot disk to the new plan's storage. Off by default: only CPU, RAM and price change and the disk keeps its size. Growing the disk cannot be undone.

Defaultfalse

Responses

Successful Response

application/json

detail*string

Human-readable confirmation message.