Check factory reset permission
1. API Description
This API is used to check whether the device is allowed to be reset.
Request mode: GET/POST [ip]/api/factory-reset-permission
Administrator Rights | Logged-in |
---|---|
No | No |
2. Input Parameters
None
3. Output Parameters
Name | Type | Description |
---|---|---|
status | Int | Status code |
code | String | Status description |
reset-enable | Boolean | Whether it is allowed to reset your device. true: Yes; false: No |
4. Example
Checking whether the device is allowed to be reset.
Input Example
None
Output Example
{
"status": 0,
"code": "Success",
"reset-enable": true
}
5. Error Code
No error code related to the API business logic. For other error codes, see Common Error Codes.