Change the password
Changing the password occurs after the authentication is passed.
| parameter | description | required |
|---|---|---|
| action | updatePassword | true |
| newpwd | password, Encrypted by RC4 (SHA-1 (OLDPWD), SHA-1 (NEWPWD)). | true |
response: no text
{
"err":0,
"desc":"ERR_NONE"
}
possible errors:
| Returns an error code | description | detailed description |
|---|---|---|
| 0x0006 | ERR_FORMAT_ERROR | parameter error |
| 0x0007 | ERR_MISSING_PARAMETER | Missing necessary parameters (incoming parameters may be empty) |
| 0x0010 | ERR_PASSWORD_VERIF_FAIL | Password validation failed (possibly incorrect password encryption) |
| 0x0011 | ERR_PASSWORD_FORMAT_ERROR | The password format is incorrect |