Reset the subordinate user password
Changing the password occurs after the authentication is passed.
| parameter | description | required |
|---|---|---|
| action | resetSubUsrPassword | true |
| uid | User id | true |
| newpwd | password, encrypted byRC4(secret, SHA-1(NEWPWD)) | true |
response: no text
{
"err":0,
"desc":"ERR_NONE"
}
possible error:
| Returns an error code | description | detailed description |
|---|---|---|
| 0x0006 | ERR_FORMAT_ERROR | format error,parameter error |
| 0x0105 | ERR_NOT_FOUND_USR | User not found |
| 0x000B | ERR_NO_PERMISSION | no permission |
| 0x0010 | ERR_PASSWORD_VERIF_FAIL | Password verification failed |
| 0x0011 | ERR_PASSWORD_FORMAT_ERROR | password format is incorrect |