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>"
}resize a vm that user owns
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>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
standard-base-g2, standard-plus-g2, pro-g2, pro-plus-g2, express-g2, express-plus-g2 Successful operation