{
  "args": {
    "invite_id": {
      "desc": "ID of the Slack Connect invite to decline. Subscribe to the `shared_channel_invite_accepted` event to receive IDs of Slack Connect channel invites that have been accepted and are awaiting approval.",
      "required": true
    },
    "target_team": {
      "desc": "The team or enterprise id of the other party involved in the invitation you are declining",
      "required": false
    }
  },
  "desc": "Declines a Slack Connect channel invite.",
  "errors": {
    "approval_inactive": "This approval is no longer active, it may have expired or been declined.",
    "approval_not_found": "We could not find a Slack Connect approval for the invite provided.",
    "inactive_invite": "This invitation is no longer active, it may have expired or been revoked.",
    "invite_not_found": "We could not find a Slack Connect invite associated with the ID provided.",
    "missing_target_team": "The `target_team` parameter is required for this request.",
    "not_paid": "The workspace is not eligible to use Slack Connect.",
    "restricted_action": "A team preference prevents the authenticated user from declining Slack Connect invites.."
  },
  "rate_limit": {
    "label": "Tier 3: 50+ 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"
      }
    ]
  }
}

