Current section
Files
Jump to
Current section
Files
priv/docs/methods/conversations.externalInvitePermissions.set.json
{
"args": {
"action": {
"desc": "Type of action to be taken: upgrade or downgrade _Acceptable values:_ `upgrade` `downgrade`",
"example": "upgrade",
"required": true,
"type": "string"
},
"channel": {
"desc": "The channel ID to change external invite permissions for",
"example": "C123456",
"required": true
},
"target_team": {
"desc": "The encoded team ID of the target team. Must be in the specified channel.",
"example": "T726G27TT",
"required": true
}
},
"desc": "Upgrade or downgrade Slack Connect channel permissions between 'can post only' and 'can post and invite'.",
"errors": {
"channel_not_found": "Cannot find channel",
"invalid_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 upgraded",
"restricted_action": "A team preference prevents the user from taking this action."
},
"rate_limit": {
"label": "Tier 2: 20+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"bot": [
{
"name": "conversations.connect:manage",
"url": "https://docs.slack.dev/reference/scopes/conversations.connect.manage"
}
]
}
}