Send action

Send power action

curl "https://garry.host/api/client/servers/<id>/power" \
  -H "Authorization: Bearer api" \
  -H "Content-Type: application/json" \
  -H "Accept: Application/vnd.pterodactyl.v1+json" \
  -X POST \
  -d '{ "signal": "start" }'

This endpoint sends a power signal to the server.

You are required to add the Accept: Application/vnd.pterodactyl.v1+json and Content-Type: application/jsonheaders for this endpoint.

If successful, there will be an empty response body.

HTTP Request

POST https://garry.host/api/client/servers/<ID>/power

URL Parameters

Power Signals

Sending the kill power signal will forcefully kill the server process and can cause corruption in files, only use it as a last resort.

Dernière mise à jour