Skip to main content
POST
/
vm
/
disk
/
{vmID}
/
{diskID}
Extend a vm Disk
curl --request POST \
  --url https://iaas-api.liara.ir/vm/disk/{vmID}/{diskID} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "newSize": 123
}'
{
  "taskID": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

vmID
string
required
diskID
string
required

Body

application/json
newSize
number

Response

Successful operation

taskID
string