Volumes

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 your account balance. Returns 402 if insufficient balance.

patch/api/v1/volumes/{id}

Request

  • Base URL
    https://api.rafftechnologies.com
  • URL
    https://api.rafftechnologies.com/api/v1/volumes/{id}
  • Auth
    API key in header X-API-Key

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
}

Changes