Python
Volumes
Extend volume
Increase the size of a volume. The volume must be in an available or in-use state to be extended. The new size must be greater than the current size.
POST
Python
Authorizations
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234_abcdef
Path Parameters
Project ID
Example:
1
Region ID
Example:
1
Volume ID
Example:
"726ecfcc-7fd0-4e30-a86e-7892524aa483"
Body
application/json
New volume size in GiB
Required range:
x >= 1Example:
100
Response
200 - application/json
OK
List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:
GET /v1/tasks/{task_id}- Check individual task status and details Poll task status until completion (FINISHED/ERROR) before proceeding with dependent operations.
Example: