跳到主要内容

修改用户

基本信息

请求方式 PUT

请求地址 /api/v1/account/user/update

请求头

请参考通用参数

参数名称参数值是否必须示例备注
Content-Typeapplication/json

Body 请求参数

名称类型是否必须备注其他信息
idstring必须用户ID
emailstring非必须邮箱
phonestring非必须手机号
avatarstring非必须头像URL
fullNamestring必须姓名
nickNamestring必须昵称
idCardstring非必须身份证号
addressstring非必须地址
remarkstring非必须备注
expireDatestring非必须过期日期format: date
statusstring非必须状态枚举: enabled,disabled,locked,
expired_locked,password_expired_locked
customobject非必须扩展字段

响应参数

名称类型示例值描述
codestring0返回码。
msgstringsuccess返回码描述。
requestIdstring4a8bd9ec7d54456f6b39f7c9008b0132请求 ID。

错误码

请参考通用错误码