更新用户信息
更新用户信息
Path Parameters
用户id
Query Parameters
更新标记
Request Body required
用户id
Possible values: non-empty
and <= 64 characters
显示名称
Possible values: non-empty
and <= 64 characters
用户名
手机号
邮箱
租户id
租户标识
地区代码
Possible values: >= 8 characters
and <= 32 characters
密码
确认密码
备注
控制台启用状态
open_api启用状态
mfa启用状态
是否首次登录时重置密码
是否下次登录重置密码
是否首次登录时重置密码
ak object
Ak
Ak id
用户id
Access key
Secret key
状态
建议更新标志
上一次密码修改人id
上一次密码修改人用户名
- 200
- default
OK
Schema
用户id
Possible values: non-empty
and <= 64 characters
显示名称
Possible values: non-empty
and <= 64 characters
用户名
手机号
邮箱
租户id
租户标识
地区代码
Possible values: >= 8 characters
and <= 32 characters
密码
确认密码
备注
控制台启用状态
open_api启用状态
mfa启用状态
是否首次登录时重置密码
是否下次登录重置密码
是否首次登录时重置密码
ak object
Ak
Ak id
用户id
Access key
Secret key
状态
建议更新标志
上一次密码修改人id
上一次密码修改人用户名
{
"id": "string",
"name": "string",
"username": "string",
"phone": "string",
"email": "string",
"tenant_id": "string",
"tenant_code": "string",
"region_code": "string",
"status": "string",
"source": "string",
"confirm_password": "string",
"remark": "string",
"console_state": "string",
"open_api_state": "string",
"mfa_state": "string",
"set_password_first_login": "string",
"set_password_next_login": "string",
"set_password_at_login": "string",
"ak": {
"id": "string",
"user_id": "string",
"access_key": "string",
"secret_key": "string",
"status": "string",
"advice_renew": true,
"create_time": "2024-11-04T06:28:49.009Z",
"update_time": "2024-11-04T06:28:49.009Z"
},
"set_password_time": "2024-11-04T06:28:49.009Z",
"last_login_time": "2024-11-04T06:28:49.009Z",
"create_time": "2024-11-04T06:28:49.009Z",
"update_time": "2024-11-04T06:28:49.009Z",
"join_time": "2024-11-04T06:28:49.009Z",
"password_updator_id": "string",
"password_updator_username": "string",
"invalid_time": "2024-11-04T06:28:49.009Z",
"message_phone": "string",
"message_email": "string",
"message_phone_verified": true,
"message_email_verified": true
}
Default error response
Schema
- Array [
- ]
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}