获取租户成员列表
GET
/api/v2/tenant/{tenantId}/users请求参数
Path 参数
tenantId
string
租户 ID
示例值:
x-authing-userpool-id
Query 参数
page
string
分页参数,页数
示例值:
1
limit
string
可选
分页参数,每页显示个数。
示例值:
10
Header 参数
Authorization
string
Token
示例值:
Bearer Token
x-authing-userpool-id
string
用户池 ID
示例值:
61b95d6c96d42670da568408
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
object
必需
list
array [object {3}]
必需
listTotal
integer
必需
示例
{
"code": 200,
"message": "获取租户成员成功",
"data": {
"list": [
{
"id": "61e114bfc242a853a789ab80",
"tenantId": "61e113fb9a411a84704ebf07",
"user": {
"id": "61de786b31d27307c7ce66c3",
"arn": "arn:cn:authing:61b95d6c96d42670da568408:user:61de786b31d27307c7ce66c3",
"userPoolId": "61b95d6c96d42670da568408",
"photo": "https://files.authing.co/authing-console/default-user-avatar.png",
"email": "112233@gmail.com",
"emailVerified": false,
"phone": "13100000001",
"phoneVerified": false,
"unionid": null,
"openid": null,
"username": "13100000001",
"nickname": null,
"country": null,
"province": null,
"company": null,
"loginsCount": 0,
"lastIp": null,
"name": null,
"givenName": null,
"familyName": null,
"middleName": null,
"profile": null,
"preferredUsername": null,
"website": null,
"gender": "U",
"birthdate": null,
"zoneinfo": null,
"address": null,
"formatted": null,
"streetAddress": null,
"region": null,
"postalCode": null,
"city": null,
"blocked": false
}
}
],
"listTotal": 1
}
}
最后修改时间: 3 年前