Returns
JSON formatted status for the request:
{
"result" : true,
"message" : "Device data cleared. The device will now reboot."
}
If action is not included on the API call as a parameter the following response will be received:
{
"result" : false,
"message" : "Confirmation not provided"
}
If all user data cannot be deleted the following response will be received:
{
"result" : false,
"message" : "Device data could not all be removed. Please retry or reboot and then
retry."
}
Example
Browser
http://192.168.123.123/api/clear?action=clear
Curl
curl http://192.168.123.123/api/clear?action=clear
Reset
API Call
/api/reset
Summary
Reboot the Sentinel device.
Description
This service reboots the Sentinel device, no prompt or interlock will be provided.
action
must be included in the
request or the reboot will not take place, this is a mechanism to prevent accidental reboot by calling this API. No
mechanism is available to stop this service once it has been called.
Parameters
Returns
JSON formatted status for the request:
{
"result" : true,
"message" : "Sentinel will now reboot"
}
Example
Browser
http://192.168.123.123/api/reset?action=reset
Curl
curl http://192.168.123.123/api/reset?action=reset