factory-reset-permission
Use the interface to detect whether the device is allowed to be reset without login.
Request Mode
GET/POST /api/factory-reset-permission
Response Body
{
"status": 0
"reset-enable": true
}
Name | Description |
---|---|
status | 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |
reset-enable | Whether to support reset. If yes, it returns true; otherwise, it returns false. |