Restart server
Reboot a server.
POST/api/servers/{id}/restart
Restart a server
This endpoint allows you to restart a server. After triggering the restart, you should wait before running any other actions to allow the server to completely start up.
Request
POST
/api/servers/{id}/restartcurl -X POST "https://ploi.io/api/servers/{id}/restart" \
-H "Authorization: Bearer {token}" \
-H "Content-Type: application/json" \
-H "Accept: application/json"
Response
{
"message": "Server is now rebooting, please wait a while before running any other actions so the server can completely start up."
}