Current section
Files
Jump to
Current section
Files
priv/docs/methods/admin.usergroups.removeChannels.json
{
"args": {
"channel_ids": {
"desc": "Comma-separated string of channel IDs",
"example": "C00000000,C00000001",
"required": true,
"type": "array"
},
"usergroup_id": {
"desc": "ID of the IDP Group",
"example": "S00000000",
"required": true,
"type": "string"
}
},
"desc": "Remove one or more default channels from an org-level IDP group (user group).",
"errors": {
"channel_not_found": "At least one of the provided channel IDs could not be found, or one of those channels has a type that is not supported.",
"feature_not_enabled": "The Admin APIs feature is not enabled for this workspace.",
"invalid_channels_limit": "The number of channel IDs passed in is larger than 100.",
"not_an_admin": "The calling user cannot update the specified usergroup.",
"not_an_enterprise": "The token passed in does not belong to an Enterprise organization.",
"usergroup_not_found": "The IDP group provided was not found."
},
"rate_limit": {
"label": "Tier 2: 20+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"user": [
{
"name": "admin.usergroups:write",
"url": "https://docs.slack.dev/reference/scopes/admin.usergroups.write"
}
]
}
}