Modify¶
POST /api/v1/account/{account_uuid}/modify
Overview¶
Route Parameters¶
Parameter Name | Type | Required | Description |
---|---|---|---|
account_uuid | string | Y | The 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 duration 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 duration for login (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, V part should be strings if possible, applicable for automatic updates during SSO login) Example: {'department': 'Department A'} Allow null: False |
|
customAttributes | json | Custom account attribute information (JSON structure, KV structure, V part should be strings if possible, only applicable for business-side updates) Example: {'department': 'Department A'} Allow null: False |