批量获取用户绑定的第三方信息
GEThttps://your-domain/openapi/v2/account/users/thirdparty/binding/batch
批量获取用户绑定的第三方信息(需组织管理员权限)
History
Version | Changes |
---|---|
v6.0.44 | Added in: v6.0.44 |
Request
Query Parameters
ids string[]required
Possible values: >= 1
, <= 100
用户ID列表
Responses
- 200
- 401
- 403
- 404
- 500
请求成功
- application/json
- Schema
- Example (from schema)
Schema
data
object[]
{
"data": [
{
"id": "2oF4mAeA",
"list": [
{
"thirdPartyID": "2oF4mAeB",
"thirdPartyType": "DingTalk"
},
{
"thirdPartyID": "2oF4mAeC",
"thirdPartyType": "LDAP"
}
]
}
]
}
如果身份验证凭据不正确或丢失,则返回
- application/json
- Schema
- Example (from schema)
Schema
result string
本次请求结果,SUCCESS|FAIL
errorCode string
本次请求错误码
errorMsg string
本次请求错误信息
{
"result": "FAIL",
"errorCode": "Unauthorized",
"errorMsg": "Access token is invalid"
}
如果scope检验不通过,则返回
- application/json
- Schema
- Example (from schema)
Schema
result string
本次请求结果,SUCCESS|FAIL
errorCode string
本次请求错误码
errorMsg string
本次请求错误信息
{
"result": "FAIL",
"errorCode": "Forbidden",
"errorMsg": "Scope is invalid"
}
如果未找到资源对象,则返回
- application/json
- Schema
- Example (from schema)
Schema
result string
本次请求结果,SUCCESS|FAIL
errorCode string
本次请求错误码
errorMsg string
本次请求错误信息
{
"result": "FAIL",
"errorCode": "NotFound",
"errorMsg": "Not Found"
}
内部服务器错误
- application/json
- Schema
- Example (from schema)
Schema
result string
本次请求结果,SUCCESS|FAIL
errorCode string
本次请求错误码
errorMsg string
本次请求错误信息
{
"result": "FAIL",
"errorCode": "Internal Server Error",
"errorMsg": "Internal Server Error"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L 'https://your-domain/openapi/v2/account/users/thirdparty/binding/batch' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear