POST
/
kvm
/
v2
/
get
/
power
curl --request POST \
  --url https://{api_host}.edisglobal.com/kvm/v2/get/power \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data signature=session_signature_12345 \
  --data kvm_id=kvm_xxxxx_yyyyy \
  --data valid_until=2025-01-12T15:30:00Z
{
  "status": "success",
  "data": "server powered on",
  "traffic_suspended": false
}

Body

application/x-www-form-urlencoded
Required parameters to retrieve the power state.
signature
string

The session signature obtained from the "Create AUTH-session" call.

kvm_id
string

The unique identifier of the KVM.

valid_until
string

The expiration timestamp of the session obtained from the "Create AUTH-session" call.

Response

200
application/json
The power state of the KVM VPS was retrieved successfully.
status
string

The status of the operation.

data
string

The operation result message.

traffic_suspended
boolean

Indicates if the traffic is suspended.

Was this page helpful?