获取协作管理员用户池列表
GET
/api/v2/userpools/cooperated
请求参数
Header 参数
Authorization
string
必需
x-authing-userpool-id
string
必需
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://core.authing.cn/api/v2/userpools/cooperated' \
--header 'Authorization;' \
--header 'x-authing-userpool-id;'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"code": 200,
"message": "",
"data": {
"list": [
{
"id": "61824393f49a14f10a03ca6f",
"name": "预发测试-千万别动",
"logo": "https://files.authing.co/authing-console/login_logo.svg",
"domain": "pretest2",
"description": "222",
"ownerId": "5b2539c440f60e0001416fbd",
"type": "normal",
"userOverview": {
"list": [
{
"thirdPartyIdentity": {
"provider": null,
"refreshToken": null,
"accessToken": null,
"scope": null,
"expiresIn": null,
"updatedAt": null
},
"id": "62b016e92b4fff6fe5ac659b",
"createdAt": "2022-06-20T06:42:49.899Z",
"updatedAt": "2022-06-20T09:18:30.716Z",
"userPoolId": "61824393f49a14f10a03ca6f",
"isRoot": false,
"status": "Activated",
"oauth": null,
"email": "chengerniu@gmail.com",
"phone": null,
"username": "testsaml",
"unionid": null,
"openid": null,
"nickname": null,
"company": null,
"photo": "https://files.authing.co/authing-console/default-user-avatar.png",
"browser": null,
"device": null,
"password": "6b102f6cacaa8d1a4ceb53b0d69cb0be",
"salt": "ofmgn97pfh7",
"loginsCount": 7,
"lastIp": "124.64.235.147",
"name": null,
"givenName": null,
"familyName": null,
"middleName": null,
"profile": null,
"preferredUsername": null,
"website": null,
"gender": "U",
"birthdate": null,
"zoneinfo": null,
"locale": null,
"address": "666",
"formatted": null,
"streetAddress": null,
"locality": null,
"region": "5525",
"postalCode": "5656",
"city": null,
"province": null,
"country": null,
"registerSource": [
"import:manual"
],
"secretInfo": null,
"emailVerified": false,
"phoneVerified": false,
"lastLogin": "2022-06-20T09:18:30.708Z",
"lastLoginApp": "61824393c2be1a5f469d8ef8",
"isDeleted": false,
"sendSmsCount": 0,
"sendSmsLimitCount": 1000,
"encryptedPassword": "tkk8ZzcHU9AeDEdIW3ONyNjpN17C4+HRSdvqvWkKk69bxdTouMZWidwEFbTL/k0JdqNeuPV0pb3LfyhZODfYvjXSrOOATcEJFhYaXXl5+RyuHBbaPmRTwxRD+laJ+dix8LEdd7XlkTJCGbBNuvA18J5tNKCirpqLgNwvQBsFIUk=",
"userSourceType": "adminCreated",
"userSourceId": null,
"signedUp": "2022-06-20T06:42:49.899Z",
"externalId": null,
"mainDepartmentId": null,
"mainDepartmentCode": null,
"lastMfaTime": null,
"passwordSecurityLevel": 2,
"resetPasswordOnFirstLogin": false,
"resetPasswordOnNextLogin": false,
"resetedPassword": false,
"syncExtInfo": null,
"phoneCountryCode": null,
"lastIP": "124.64.235.147",
"tokenExpiredAt": "1970-01-01T00:00:00.000Z",
"blocked": false
},
{
"thirdPartyIdentity": {
"provider": null,
"refreshToken": null,
"accessToken": null,
"scope": null,
"expiresIn": null,
"updatedAt": null
},
"id": "62ac7a8ffbafd2efd35c4a0e",
"createdAt": "2022-06-17T12:58:55.586Z",
"updatedAt": "2022-06-17T12:58:56.552Z",
"userPoolId": "61824393f49a14f10a03ca6f",
"isRoot": false,
"status": "Activated",
"oauth": "{\"avatar_big\":\"https://s1-imfile.feishucdn.com/static-resource/v1/v2_76012970-5b81-47ae-84e7-0b1d4ed200ag~?image_size=640x640&cut_type=&quality=&format=image&sticker_format=.webp\",\"avatar_middle\":\"https://s3-imfile.feishucdn.com/static-resource/v1/v2_76012970-5b81-47ae-84e7-0b1d4ed200ag~?image_size=240x240&cut_type=&quality=&format=image&sticker_format=.webp\",\"avatar_thumb\":\"https://s3-imfile.feishucdn.com/static-resource/v1/v2_76012970-5b81-47ae-84e7-0b1d4ed200ag~?image_size=72x72&cut_type=&quality=&format=image&sticker_format=.webp\",\"avatar_url\":\"https://s3-imfile.feishucdn.com/static-resource/v1/v2_76012970-5b81-47ae-84e7-0b1d4ed200ag~?image_size=72x72&cut_type=&quality=&format=image&sticker_format=.webp\",\"email\":\"\",\"en_name\":\"郑凯斌\",\"enterprise_email\":\"zhengkaibin@authing.cn\",\"mobile\":\"+8613752661896\",\"name\":\"郑凯斌\",\"open_id\":\"ou_fd9bac0ac2450017090413ab72513345\",\"tenant_key\":\"2e0c51aed00f1658\",\"union_id\":\"on_1411ec54fd8e3e739a05bc3ab935418d\"}",
"email": null,
"phone": "13752661896",
"username": "郑凯斌_31oj",
"unionid": null,
"openid": null,
"nickname": null,
"company": null,
"photo": "https://s3-imfile.feishucdn.com/static-resource/v1/v2_76012970-5b81-47ae-84e7-0b1d4ed200ag~?image_size=72x72&cut_type=&quality=&format=image&sticker_format=.webp",
"browser": null,
"device": null,
"password": null,
"salt": null,
"loginsCount": 1,
"lastIp": "123.123.43.42",
"name": null,
"givenName": null,
"familyName": null,
"middleName": null,
"profile": null,
"preferredUsername": null,
"website": null,
"gender": "U",
"birthdate": null,
"zoneinfo": null,
"locale": null,
"address": "666",
"formatted": null,
"streetAddress": null,
"locality": null,
"region": "5525",
"postalCode": "5656",
"city": null,
"province": null,
"country": null,
"registerSource": [
"social:feishu-z-pre"
],
"secretInfo": null,
"emailVerified": true,
"phoneVerified": true,
"lastLogin": "2022-06-17T12:58:56.545Z",
"lastLoginApp": "624274f59b6fa9101ed50c07",
"isDeleted": false,
"sendSmsCount": 0,
"sendSmsLimitCount": 1000,
"encryptedPassword": null,
"userSourceType": "register",
"userSourceId": "624274f59b6fa9101ed50c07",
"signedUp": "2022-06-17T12:58:55.586Z",
"externalId": null,
"mainDepartmentId": null,
"mainDepartmentCode": null,
"lastMfaTime": null,
"passwordSecurityLevel": null,
"resetPasswordOnFirstLogin": false,
"resetPasswordOnNextLogin": false,
"resetedPassword": false,
"syncExtInfo": null,
"phoneCountryCode": "86",
"lastIP": "123.123.43.42",
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1cGRhdGVkX2F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widXNlcklkIjoiNjJhYzdhOGZmYmFmZDJlZmQzNWM0YTBlIiwiX2lkIjoiNjJhYzdhOGZmYmFmZDJlZmQzNWM0YTBlIiwicGhvbmUiOiIxMzc1MjY2MTg5NiIsImVtYWlsIjpudWxsLCJ1c2VybmFtZSI6IumDkeWHr-aWjF8zMW9qIiwidW5pb25pZCI6bnVsbCwib3BlbmlkIjpudWxsLCJjbGllbnRJZCI6IjYxODI0MzkzZjQ5YTE0ZjEwYTAzY2E2ZiJ9LCJ1c2VycG9vbF9pZCI6IjYxODI0MzkzZjQ5YTE0ZjEwYTAzY2E2ZiIsImF1ZCI6IjYyNDI3NGY1OWI2ZmE5MTAxZWQ1MGMwNyIsImV4cCI6MTY1NjY4MDMzNSwiaWF0IjoxNjU1NDcwNzM1LCJpc3MiOiJodHRwczovL3prYi5hdXRoaW5nLmNuL29pZGMifQ.UyBniLID7uaDizLnT3UymdvQKXb5F_txtD038NL1pf0",
"tokenExpiredAt": "2022-07-01T12:58:55.659Z",
"blocked": false
},
{
"thirdPartyIdentity": {
"provider": null,
"refreshToken": null,
"accessToken": null,
"scope": null,
"expiresIn": null,
"updatedAt": null
},
"id": "62ac663aba91bb98f93cb7d5",
"createdAt": "2022-06-17T11:32:10.902Z",
"updatedAt": "2022-06-17T11:32:12.671Z",
"userPoolId": "61824393f49a14f10a03ca6f",
"isRoot": false,
"status": "Activated",
"oauth": "{\"avatar_big\":\"https://s1-imfile.feishucdn.com/static-resource/v1/v2_e74ef638-e26a-4da4-a749-8a4d67d620dg~?image_size=640x640&cut_type=&quality=&format=image&sticker_format=.webp\",\"avatar_middle\":\"https://s3-imfile.feishucdn.com/static-resource/v1/v2_e74ef638-e26a-4da4-a749-8a4d67d620dg~?image_size=240x240&cut_type=&quality=&format=image&sticker_format=.webp\",\"avatar_thumb\":\"https://s1-imfile.feishucdn.com/static-resource/v1/v2_e74ef638-e26a-4da4-a749-8a4d67d620dg~?image_size=72x72&cut_type=&quality=&format=image&sticker_format=.webp\",\"avatar_url\":\"https://s1-imfile.feishucdn.com/static-resource/v1/v2_e74ef638-e26a-4da4-a749-8a4d67d620dg~?image_size=72x72&cut_type=&quality=&format=image&sticker_format=.webp\",\"email\":\"\",\"en_name\":\"changgao\",\"mobile\":\"+8618311039221\",\"name\":\"高畅\",\"open_id\":\"ou_7a1d5b0a0a8fe3e354a61fec2a0daabd\",\"tenant_key\":\"2e0c51aed00f1658\",\"union_id\":\"on_27531c0170ec305ec8f1bdb17fa2493c\"}",
"email": null,
"phone": "18311039221",
"username": "高畅",
"unionid": null,
"openid": null,
"nickname": null,
"company": null,
"photo": "https://s1-imfile.feishucdn.com/static-resource/v1/v2_e74ef638-e26a-4da4-a749-8a4d67d620dg~?image_size=72x72&cut_type=&quality=&format=image&sticker_format=.webp",
"browser": null,
"device": null,
"password": null,
"salt": null,
"loginsCount": 1,
"lastIp": "124.64.235.147",
"name": null,
"givenName": null,
"familyName": null,
"middleName": null,
"profile": null,
"preferredUsername": null,
"website": null,
"gender": "U",
"birthdate": null,
"zoneinfo": null,
"locale": null,
"address": "666",
"formatted": null,
"streetAddress": null,
"locality": null,
"region": "5525",
"postalCode": "5656",
"city": null,
"province": null,
"country": null,
"registerSource": [
"social:authing-pre-feishu-self-yezuwei"
],
"secretInfo": null,
"emailVerified": false,
"phoneVerified": true,
"lastLogin": "2022-06-17T11:32:12.667Z",
"lastLoginApp": "618243939067e358659fecfc",
"isDeleted": false,
"sendSmsCount": 0,
"sendSmsLimitCount": 1000,
"encryptedPassword": null,
"userSourceType": "register",
"userSourceId": "618243939067e358659fecfc",
"signedUp": "2022-06-17T11:32:10.902Z",
"externalId": null,
"mainDepartmentId": null,
"mainDepartmentCode": null,
"lastMfaTime": null,
"passwordSecurityLevel": null,
"resetPasswordOnFirstLogin": false,
"resetPasswordOnNextLogin": false,
"resetedPassword": false,
"syncExtInfo": null,
"phoneCountryCode": "86",
"lastIP": "124.64.235.147",
"tokenExpiredAt": "1970-01-01T00:00:00.000Z",
"blocked": false
}
],
"totalCount": 118
}
}
],
"totalCount": 1
}
}
修改于 2022-06-21 02:54:41