Account Modification¶
POST /api/v1/account/{account_uuid}/modify
Overview¶
Route Parameters¶
Parameter Name | Type | Required | Description |
---|---|---|---|
account_uuid | string | Y | UUID of the account |
Body Request Parameters¶
Parameter Name | Type | Required | Description |
---|---|---|---|
name | string | Nickname Example: supper_man Allow null: False |
|
mobile | string | Phone number Example: 18621000000 Allow null: False Allow empty string: True |
|
username | string | Login account Example: username Allow null: False |
|
string | Email address Example: email Allow null: False Allow empty string: True Maximum length: 256 |
||
password | string | Password Example: xxxx Allow null: False |
|
tokenHoldTime | integer | Session hold time without operation (in seconds, default 1440 minutes, 86400 seconds) Example: 604800 Allow null: False Allow empty string: False $minValue: 1800 $maxValue: 604800 |
|
tokenMaxValidDuration | integer | Maximum session hold time (in seconds, default 7 days, 604800 seconds) Example: 2592000 Allow null: False Allow empty string: False $minValue: 60 $maxValue: 2592000 |
|
attributes | json | Account attribute information (JSON structure, KV structure, try to use strings for V part) Example: {'department': 'Department A'} Allow null: False |