Ploi API
Ploi API

Restart server

Restarts a server

POST api/servers/{id}/restart

Example request

curl -X POST "https://ploi.io/api/servers/{id}/restart" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"

Example response:

HTTP/1.1 200 OK
Content-Type: application/json

{
    "message": "Server is now rebooting, please wait a while before running any other actions so the server can completely start up."
}