Control the service

Role

Use this method to send a command to the service directly.

Prototype

URL : /service/control

Method : POST

URL Params : None

Request data :

Field name Type Status Description
Command string required The command to be executed by the service

Supported Commands

reset

Use this command to stop and restart the service (typically after having written new settings to apply the new configuration). If the configuration is OK, the service restarts after 30 seconds.

{
	"Command": "reset"
}

stop

Use this command to stop the service.

{
	"Command": "stop"
}

Success Response

Code : 200 OK

Content : a SUCCESS object.

Error Response

See Error Responses.