Reset device
1. API Description
This API is used to reset your device to default settings.
API request: GET/POST [ip]/api/factory-reset
Administrator Rights | Logged-in |
---|---|
No | No |
2. Input Parameters
None
3. Output Parameters
Name | Type | Description |
---|---|---|
status | Int | Status code |
code | String | Status description |
4. Example
Resetting device.
Input Example
None
Output Example
{
"status": 0,
"code": "Success"
}
5. Error Code
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Status | Definition | Description |
---|---|---|
31 | MW_STATUS_NOT_PERMITTED | No permission |