Virtual Machines
Resize VM
Resize a virtual machine's CPU and RAM by selecting a new pricing plan. The VM must be stopped before resizing.
Billing
For subscription VMs, the price difference is calculated pro-rata for the remaining billing period:
- Upgrade — the difference is deducted from credits, then account balance. If your balance is insufficient, the request fails with 402.
- Downgrade — the pro-rata credit is added to your account balance.
The new subscription price takes effect immediately.
post/api/v1/vms/{id}/resize
Path parameters
idstring uuid required
VM ID (UUID)
Headers
X-Project-IDstring uuid required
Project ID. Required for all mutating operations (create, delete, power actions, resize).
Request body
Response
VM resized
Example response
{
"success": true
}