获取成员列表
测试中GET
/api/v2/orgs/nodes/{nodeId}/members请求参数
Path 参数
nodeId
string
节点 ID
示例值:
613f3da723b9597a4d07f371
Query 参数
page
string
页数
示例值:
1
limit
string
每页显示条数
示例值:
10
includeChildrenNodes
string
是否要包含子节点
示例值:
true
sortBy
string
可选
排序方式,枚举:CREATEDAT_DESC、CREATEDAT_ASC、UPDATEDAT_DESC
示例值:
CREATEDAT_DESC
Header 参数
Authorization
string
必需
用户池管理员 Token
示例值:
Bearer token
x-authing-userpool-id
string
用户池 ID
示例值:
61cc2c7bb686e2767125230d
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
data
object
必需
nodeById
object
必需
message
string
必需
示例
{
"code": 200,
"data": {
"nodeById": {
"id": "6138289108e2285710efa799",
"createdAt": "2021-09-08T03:05:53.092Z",
"updatedAt": "2021-09-08T03:05:53.092Z",
"userPoolId": "59f86b4832eb28071bdd9214",
"orgId": "613828910e822be019eab146",
"name": "test",
"nameI18n": null,
"description": null,
"descriptionI18n": null,
"order": null,
"code": null,
"leaderUserId": null,
"__id": null,
"__parentid": null,
"__groupid": null,
"children": [
"613ef1902ee49ba1303159f6",
"61c2ea2375a66595f1106ba2"
],
"users": {
"list": [
{
"thirdPartyIdentity": {
"provider": null,
"refreshToken": null,
"accessToken": null,
"scope": null,
"expiresIn": null,
"updatedAt": null
},
"id": "613f3da723b9597a4d07f371",
"createdAt": "2021-09-13T12:01:43.854Z",
"updatedAt": "2021-09-14T02:42:00.972Z",
"userPoolId": "59f86b4832eb28071bdd9214",
"isRoot": false,
"status": "Activated",
"oauth": null,
"email": "xl@123.com",
"phone": null,
"username": null,
"unionid": null,
"openid": null,
"nickname": null,
"company": null,
"photo": "https://files.authing.co/authing-console/default-user-avatar.png",
"browser": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.63 Safari/537.36",
"device": "Mac OS",
"password": "fb4bcf29b1b8979c36d935773b133a26",
"salt": "94cfkl5jkpma",
"loginsCount": 1,
"lastIp": "::1",
"name": null,
"givenName": null,
"familyName": null,
"middleName": null,
"profile": null,
"preferredUsername": null,
"website": null,
"gender": "U",
"birthdate": null,
"zoneinfo": null,
"locale": null,
"address": null,
"formatted": null,
"streetAddress": null,
"locality": null,
"region": null,
"postalCode": null,
"city": null,
"province": null,
"country": null,
"registerSource": [
"basic:email"
],
"secretInfo": null,
"emailVerified": false,
"phoneVerified": false,
"lastLogin": "2021-09-13T12:01:47.355Z",
"blocked": false,
"isDeleted": false,
"sendSmsCount": 0,
"sendSmsLimitCount": 1000,
"encryptedPassword": "YPCoyoY+u5EI39IaVtXb0CFEguxmHwsoa1GkNPBnTPZWT2mlHfCw0W64Oe7tnGodLCpE93cMrXN9teU9z9fNeFvGZRQsa9pYfM27C0CtT930Vq6utrHK7d8UXEX0y73Uu0hgY7GzMbC/9qVoWFBmRvfFWL/ESVO4P/DHArtaXQk=",
"signedUp": "2021-09-13T12:01:43.854Z",
"externalId": null,
"mainDepartmentId": "61c2ea2375a66595f1106ba2",
"mainDepartmentCode": null,
"lastMfaTime": null,
"passwordSecurityLevel": 2,
"resetPasswordOnFirstLogin": false,
"syncExtInfo": null,
"phoneCountryCode": null,
"lastIP": "::1",
"tokenExpiredAt": "1970-01-01T00:00:00.000Z",
"positions": [],
"departmentList": {
"list": [
{
"department": {
"id": "61c2ea2375a66595f1106ba2",
"createdAt": "2021-12-22T09:04:35.224Z",
"updatedAt": "2021-12-22T09:04:35.224Z",
"userPoolId": "59f86b4832eb28071bdd9214",
"orgId": "613828910e822be019eab146",
"name": "tebebebee",
"nameI18n": null,
"description": null,
"descriptionI18n": null,
"order": null,
"code": null,
"leaderUserId": null,
"__id": null,
"__parentid": null,
"__groupid": null
},
"joinedAt": "2021-12-22T09:44:07.332Z",
"isMainDepartment": true
}
],
"totalCount": 1
}
}
],
"totalCount": 2
},
"leaderUser": {}
}
},
"message": "获取组织结构用户成功"
}
最后修改时间: 3 年前