appliance vmon service: restart
Restarts a service
Request:
HTTP request
POST https://{server}/rest/appliance/vmon/service/{service}/restart
Path Parameters
| Name | Type | Description |
|---|---|---|
| Required | ||
| service | string | identifier of the service to restart. |
Response:
HTTP Status Code: 200
NoneErrors:
| HTTP Status Code | Type | Description |
|---|---|---|
| 404 | not_found | if the service associated with service does not exist. |
| 500 | timed_out | if any timeout occurs during the execution of the restart operation. |
| 400 | not_allowed_in_current_state | if the operation is denied in the current state of the service. If a stop or start operation is in progress, issuing a restart operation will lead to this error. |
| 500 | error | if any other error occurs during the execution of the operation. |