v12

latestOpenAPI 3.0.3raw.githubusercontent.com2026-06-1811583196.1 KB
Volumes

Resize Volume

Increase the size of a block storage volume. Volume size can only be increased, never decreased.

Billing

For subscription volumes, the storage cost difference is calculated pro-rata and deducted from credits, then account balance. Returns 402 if insufficient balance.

patch/api/v1/volumes/{id}

Path parameters

idinteger required

Volume ID

Headers

X-Project-IDstring uuid required

Project ID. Required for all mutating operations (create, delete, power actions, resize).

Request body

new_sizeinteger required

New volume size in GB. Must be larger than current size.

Response

Volume resized

successboolean
messagestring
idstring

Resource ID.

Example response

{
  "success": true
}