获取用户列表
获取用户列表
Query Parameters
过滤条件
支持创建时间和更新时间排序
每页数量
分页标识
是否包含管理员
- 200
- default
OK
Schema
- Array [
- ]
users object[]
用户列表
用户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
上一次密码修改人用户名
分页标识
数据总条数
{
"users": [
{
"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.004Z",
"update_time": "2024-11-04T06:28:49.004Z"
},
"set_password_time": "2024-11-04T06:28:49.004Z",
"last_login_time": "2024-11-04T06:28:49.004Z",
"create_time": "2024-11-04T06:28:49.004Z",
"update_time": "2024-11-04T06:28:49.004Z",
"join_time": "2024-11-04T06:28:49.004Z",
"password_updator_id": "string",
"password_updator_username": "string",
"invalid_time": "2024-11-04T06:28:49.004Z",
"message_phone": "string",
"message_email": "string",
"message_phone_verified": true,
"message_email_verified": true
}
],
"next_page_token": "string",
"total_size": 0
}
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"
}
]
}