Virtual Machines
Resize VM Disk
Changed onIncrease the primary disk of a virtual machine. The VM must be stopped. Disk size can only be increased.
Billing
For subscription VMs, the storage cost difference is calculated pro-rata and deducted from your account balance. Returns 402 if insufficient balance.
post/api/v1/vms/{id}/disk/resize
Request
- Base URLhttps://api.rafftechnologies.com
- URLhttps://api.rafftechnologies.com/api/v1/vms/{id}/disk/resize
- AuthAPI key in header X-API-Key
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 disk resized
Example response
{
"success": true
}Changes
- warning
removed the optional property
/from the response with the status
- warning
- info
added the media type
application/jsonfor the response with the status
- info