Skip to content

Modify



POST /api/v1/account/{account_uuid}/modify

Overview

Route Parameters

Parameter Type Required Description
account_uuid string Y The UUID of the account

Body Request Parameters

Parameter Type Required Description
name string Nickname
Example: supper_man
Allow empty: False
mobile string Phone number
Example: 18621000000
Allow empty: False
Allow empty string: True
username string Login account
Example: username
Allow empty: False
email string Email
Example: email
Allow empty: False
Allow empty string: True
Max length: 256
password string Password
Example: xxxx
Allow empty: False
source string Account source identifier, fixed as local when exterId is not specified; cannot be local when exterId is specified;
Allow empty: True
Allow empty string: True
Optional values: ['local', 'unknown', 'oidc', 'ldap']
tokenHoldTime integer Inactive session hold duration (in seconds, default 1440 minutes, 86400 seconds)
Example: 604800
Allow empty: False
Allow empty string: False
$minValue: 1800
$maxValue: 604800
tokenMaxValidDuration integer Maximum login session hold duration (in seconds, default 7 days, 604800 seconds)
Example: 2592000
Allow empty: False
Allow empty string: False
$minValue: 60
$maxValue: 2592000
attributes json Account attribute information (json structure, KV structure, V part preferably uses strings, suitable for automatic updates during SSO login)
Example: {'Department': 'A Department'}
Allow empty: False
customAttributes json Account custom attribute information (json structure, KV structure, V part preferably uses strings, only suitable for business-side updates)
Example: {'Department': 'A Department'}
Allow empty: False

Parameter Supplementary Explanation

Response