{
  "args": {
    "invite_id": {
      "desc": "ID of the requested shared channel invite to deny.",
      "required": true
    },
    "message": {
      "desc": "Optional message explaining why the request to invite was denied.",
      "required": false,
      "type": "string"
    }
  },
  "desc": "Denies a request to invite an external user to a channel",
  "errors": {
    "channel_not_found": "We could not find the channel where the request was made.",
    "invite_already_approved": "This invite was already approved.",
    "invite_already_denied": "This invite was already denied.",
    "invite_expired": "This invite is expired.",
    "invite_not_found": "We couldn't find a Slack Connect channel invite with the ID provided.",
    "message_too_long": "If the passed in deny message is greater than 560 characters.",
    "restricted_action": "A team preference prevents the invite from being denied.",
    "team_not_found": "We could not find the team which made the invite request.",
    "user_not_found": "We could not find the user who made the invite request."
  },
  "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"
      }
    ]
  }
}

