# Restart
Use this method to restart the server.
# HTTP Request:
GET https://api.serveravatar.com/organizations/{organization}/servers/{server}/restart
# Curl Request example:
curl --request GET \
--url "https://api.serveravatar.com/organizations/{organization}/servers/{server}/restart" \
--header 'content-type: application/json' \
--header 'Authorization: <YOUR API TOKEN>'
# Response:
# Organization Not Found
- 404 (Not found)
{
"message": "Organization not found."
}
# Server Restart
- 200 (Ok)
{
"message": "Server successfully restarted."
}
# Server Not Found
- 404 (Not Found)
{
"message": "Server not found!"
}
# Server Error
- 500 (Internal Server Error)
{
"message": "Something went really wrong!"
}