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.

Documentation Index

Fetch the complete documentation index at: https://developers.liara.ir/llms.txt

Use this file to discover all available pages before exploring further.

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