Edit subordinate account information
Editing the account information occurs after the authentication is passed.
| parameter | description | required |
|---|---|---|
| action | editSubAccount | true |
| uid | User id | true |
| false | ||
| mobile | mobile phone | false |
| desc | Account Notes | false |
| qname | Nickname | false |
| photo | Headshot | false |
| cname | Company name | false |
| caddr | Company address | false |
| ctel | Company phone | false |
| false | ||
| wx | false |
Passing all optional parameters means that they do not have to be modified, and passing null means that the parameter is left empty, such as: "&cname=", You can leave the company name blank.
response: no text
{
"err":0,
"desc":"ERR_NONE"
}
possible error:
| Returns an error code | description | detailed description |
|---|---|---|
| 0x0010 | ERR_PASSWORD_VERIF_FAIL | Password validation failed (encryption error) |
| 0x0011 | ERR_PASSWORD_FORMAT_ERROR | The password format is incorrect |
| 0x0013 | ERR_MOBILE_FORMAT | The phone number format is incorrect |
| 0x0014 | ERR_EMAIL_FORMAT | The email address format is incorrect |
| 0x0015 | ERR_USRNAME_FORMAT | The user name format is incorrect |
| 0x0016 | ERR_COMPANY_NAME_FORMAT | The company name format is incorrect |
| 0x0018 | ERR_USR_NAME_DUPLICATE | Duplicate user name |
| 0x0105 | ERR_NOT_FOUND_USR | User not found |
| 0x000B | ERR_NO_PERMISSION | no permission |