Restart Service

Restarts a service, possible values: "mysql", "nginx", "supervisor"

POST api/servers/{server}/services/{service}/restart

Example request:

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