Skip to main content
PATCH
/
vm
/
power
/
{id}
Set vm power
curl --request PATCH \
  --url https://iaas-api.liara.ir/vm/power/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "action": "<string>"
}
'
This response has no body data.

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
action
string

Response

Successful operation