Resize block-storage volume
Block volumes can only be increased in size. Asynchronous: the response carries the volume operation; poll GET /block-storage/volumes/{volume_id}/operations until its status is succeeded or failed.
Authentication
AuthorizationBearer
IBEE platform API token. Production tokens start with ibee_prod_key_; development tokens start with ibee_dev_key_. Use a token only with its matching gateway environment.
Path parameters
volume_id
Workspace-owned block-volume ID.
Query parameters
workspace_id
The positive numeric workspace ID to scope this request to. Zero, negative, and non-numeric values are rejected.
Request
This endpoint expects an object.
new_size_gb
New size in GB.
vm_state
Current power state of the VM, when the caller knows it.
runningstoppedsuspended
Allowed values:
allow_online
Permit the resize while the volume is attached to a running VM. Default false.
idempotency_key
Caller-chosen key that makes a retried request return the original operation instead of starting a new one.
Response
Volume resized successfully.
volume
A block storage volume.
operation
One operation run on a volume.
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
413
Content Too Large Error
422
Unprocessable Entity Error
423
Locked Error
429
Too Many Requests Error
500
Internal Server Error
502
Bad Gateway Error
503
Service Unavailable Error
504
Gateway Timeout Error
