curl --location --request GET 'https://slack.com/api/admin.usergroups.listChannels?usergroup_id=' \
--header 'token;'
{
"channels": [
{
"id": "C024BE91L",
"name": "fun",
"num_members": 34,
"team_id": "T024BE911"
},
{
"id": "C024BE91K",
"name": "more fun",
"team_id": "T024BE912"
},
{
"id": "C024BE91M",
"is_redacted": true,
"name": "public-channel",
"num_members": 34,
"team_id": "T024BE911"
},
{
"id": "C024BE91N",
"name": "some more fun",
"team_id": "T024BE921"
}
],
"ok": true
}
admin.usergroups:read