slack
Set Allowed Channels
Restrict slash commands to exactly these channel ids.
An empty list means unrestricted (the default) — channel scoping is opt-in, so a workspace that never visits this settings screen keeps working everywhere, exactly as before this feature existed.
Request Parameters
- channelIds (List[str]): Slack channel IDs allowed to run slash commands; an empty list removes all channel restrictions.
PUT
Set Allowed Channels