批量获取邮件组权限成员
GET
/open-apis/mail/v1/mailgroups/{mailgroup_id}/permission_members
自建应用
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://open.feishu.cn/open-apis/mail/v1/mailgroups/"xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx"/permission_members?user_id_type=open_id&department_id_type=open_department_id&page_token=xxx&page_size=10' \
--header 'Authorization;'
响应示例响应示例
{
"code": 0,
"msg": "success",
"data": {
"has_more": true,
"page_token": "xxx",
"items": [
{
"permission_member_id": "xxxxxxxxxxxxxxx",
"user_id": "xxxxxxxxxx",
"department_id": "xxxxxxxxxx",
"type": "USER"
}
]
}
}
请求参数
Path 参数
mailgroup_id
必需
示例值:
"xxxxxxxxxxxxxxx 或 test_mail_group@xxx.xx"
Query 参数
user_id_type
必需
示例值:
open_id
department_id_type
必需
示例值:
open_department_id
page_token
必需
示例值:
xxx
page_size
必需
示例值:
10
Header 参数
Authorization
string
必需
默认值:
Bearer {{access_token}}
返回响应
修改于 2022-02-14 07:06:10