appliance techpreview services: restart
start or restart a service
Request:
HTTP request
POST https://{server}/rest/appliance/techpreview/services/restart
Request Body Structure:
{
"name" : "string",
"timeout" : 1
}
"name" : "string",
"timeout" : 1
}
Request Body Parameters:
| Name | Type | Description |
|---|---|---|
| bold = required | ||
| name | string | Name of the service to start or restart. |
| timeout | long | Timeout in seconds. Zero (0) means no timeout. |
Response:
HTTP Status Code: 200
NoneErrors:
| HTTP Status Code | Type | Description |
|---|---|---|
| 500 | error | Generic error |