add-user
Use the interface to add users with administrative rights.
HTTP Request
GET http://ip/usapi?method=add-user&id=xxx&pass=xxx&is-admin=0
| Parameter | Description |
|---|---|
| method | add-user |
| id | Indicates the user name. |
| pass | Indicates MD5 encrypted password. |
| is-admin | Indicates whether an administrator is added. |
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. |