Usergroups
Admin Usergroups List Channels
List the channels linked to an org-level IDP group (user group).
Authorization
slackAuth admin.usergroups:readAuthorizationBearer <token>
In: header
Scope: admin.usergroups:read
Query Parameters
usergroup_id*string
ID of the IDP group to list default channels for.
team_id?string
ID of the the workspace.
include_num_members?boolean
Flag to include or exclude the count of members per channel.
Header Parameters
token*string
Authentication token. Requires scope: admin.usergroups:read
Content-Type*"application/x-www-form-urlencoded"
Value in
- "application/x-www-form-urlencoded"
Response Body
application/json
application/json
curl -X GET "https://example.com/admin.usergroups.listChannels?usergroup_id=string" \ -H "token: string" \ -H "Content-Type: application/x-www-form-urlencoded"{ "ok": "True"}
