Current section
Files
Jump to
Current section
Files
priv/docs/methods/admin.usergroups.listChannels.json
{
"args": {
"include_num_members": {
"desc": "Flag to include or exclude the count of members per channel.",
"example": "true",
"required": false,
"type": "boolean"
},
"team_id": {
"desc": "ID of the the workspace.",
"example": "T00000000",
"required": false,
"type": "string"
},
"usergroup_id": {
"desc": "ID of the IDP group to list default channels for.",
"example": "S00000000",
"required": true
}
},
"desc": "List the channels linked to an org-level IDP group (user group).",
"errors": {
"feature_not_enabled": "The Admin APIs feature is not enabled for this workspace.",
"invalid_user": "The calling user is not valid.",
"not_allowed": "The calling user is not an admin or does not have necessary role",
"not_an_admin": "The token provided is not associated with an Org Admin or Owner.",
"not_an_enterprise": "The token passed in does not belong to an Enterprise organization.",
"team_not_found": "The workspace was not found.",
"usergroup_not_found": "The IDP group provided was not found.",
"usergroup_not_linked_to_team": "The IDP group provided is not linked to the specified workspace."
},
"rate_limit": {
"label": "Tier 2: 20+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"user": [
{
"name": "admin.usergroups:read",
"url": "https://docs.slack.dev/reference/scopes/admin.usergroups.read"
}
]
}
}