post
/v1/volumes/{volume_id}/extendExtend volume
Extend a volume's size
Path Parameters
volume_id
string<uuid>requiredpath
Volume ID
Example: "550e8400-e29b-41d4-a716-446655440000"
Request Body
requiredContent-Type: application/json
new_size
integerrequiredNew size in GB (must be larger than current size)
Responses
202
Request accepted, processing asynchronously
Content-Type: application/json
message
stringoptional400
Invalid request parameters
Content-Type: application/json
error
objectrequired401
Authentication required or token invalid
Content-Type: application/json
error
objectrequired404
Resource not found
Content-Type: application/json
error
objectrequired409
Volume is not in extendable state
Content-Type: application/json
error
objectrequired500
Internal server error
Content-Type: application/json
error
objectrequiredcurl -X POST "https://api.spo1.mycloud.com/v1/volumes/550e8400-e29b-41d4-a716-446655440000/extend" \-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \-H "Content-Type: application/json" \-d '{"new_size": 1}'