Slack. Web. Conversations. ExternalInvitePermissions
(SlackKit v1.0.0-alpha.0)
View Source
Summary
Functions
Upgrade or downgrade Slack Connect channel permissions between 'can post only' and 'can post and invite'.
Functions
Upgrade or downgrade Slack Connect channel permissions between 'can post only' and 'can post and invite'.
API reference
Rate limit: Tier 2: 20+ per minute
Scopes:
- Bot token:
conversations.connect:manage
Required Params
action- Type of action to be taken: upgrade or downgrade Acceptable values:upgradedowngradeex:upgradechannel- The channel ID to change external invite permissions for ex:C123456target_team- The encoded team ID of the target team. Must be in the specified channel. ex:T726G27TT
Errors the API can return:
channel_not_found- Cannot find channelinvalid_action- The user did not provid a valid action. Valid actions are 'upgrade' or 'downgrade'.invalid_target_team- The target team provided is not valid for the channel.not_supported- Attempting to upgrade a channel that cannot be upgradedrestricted_action- A team preference prevents the user from taking this action.
See the Common Errors guide for errors returned by every Web API method.