Device process restart
Restart the dsnet-core or dsnet-manager service.
Request
Security
| Any | Super User | System Admin | Security Admin | Operator |
|---|---|---|---|---|
| superUser | systemAdmin |
HTTP method
POST /manager/api/{apiResponseType}/1.0/deviceProcessRestart.adm HTTP/1.1
Host:{manager.dsnet} id={device1}
Curl method
curl -u {admin}:{password} -k
”https://{manager.dsnet}/manager/api/{apiResponseType}/1.0/deviceProcessRestart.adm“
-d
”id={device1}“
Parameters
| Parameter | Type | Usage | Default | Description |
|---|---|---|---|---|
| id | Long | Required |
ID of a device to restart |
|
| cancel | Boolean | Cancel a process restart before execution. | false |
Cancel (true) or allow (false) a restart. |
Response
Returns success or failure status.
JSON response example
Default JSON success or failure response that is shown in Default JSON success response and Default JSON failure response.
Parameters
None other than the default response parameters shown in Common response parameters.