Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods admin.inviteRequests.deny.json
Raw

priv/docs/methods/admin.inviteRequests.deny.json

{
"args": {
"invite_request_id": {
"desc": "ID of the request to invite.",
"example": "Ir1234",
"required": true,
"type": "string"
},
"team_id": {
"desc": "ID for the workspace where the invite request was made.",
"required": false,
"type": "string"
}
},
"desc": "Deny a workspace invite request.",
"errors": {
"already_processed": "The `invite_request_id` passed has already been approved or denied.",
"feature_not_enabled": "The Invite Request Admin APIs feature is not enabled",
"invalid_request": "The `invite_request_id` passed is invalid.",
"not_an_admin": "This token doesn't have admin privileges.",
"team_not_found": "The `team_id` specified wasn't found."
},
"rate_limit": {
"label": "Tier 2: 20+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"user": [
{
"name": "admin.invites:write",
"url": "https://docs.slack.dev/reference/scopes/admin.invites.write"
}
]
}
}