Skip to main content
PATCH
/
vm
/
resize
/
{id}
Resize a vm
curl --request PATCH \
  --url https://iaas-api.liara.ir/vm/resize/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "plan": "standard-base-g2"
}
'
{
  "taskID": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json
plan
enum<string>
Available options:
standard-base-g2,
standard-plus-g2,
pro-g2,
pro-plus-g2,
express-g2,
express-plus-g2

Response

Successful operation

taskID
string