set-passwd
Use this interface to reset user password without entering the old password. Only admin user is allowed to perform the operation.
HTTP Request
GET http://ip/usapi?method=set-passwd&id=xxx&pass=xxx
| Parameter | Description |
|---|---|
| method | set-passwd |
| id | Indicates the user name. |
| pass | Indicates MD5 encrypted new password. |
Response Body
{
"result": 0
}
| Item | Description |
|---|---|
| result | Returned status. 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |