POST
/
servers
/
{server}
/
power
/
{state}
curl --request POST \
  --url https://rdp.sh/api/v1/servers/{server}/power/{state} \
  --header 'Authorization: <api-key>'
{
  "status": true
}

Authorizations

Authorization
string
header
required

Path Parameters

server
string
required
state
enum<string>
required
Available options:
reset,
start,
stop
Example:

"start"

Response

200 - application/json
The request was successful, and the server has returned the requested resource in the response body.
status
boolean
required