Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods admin.apps.uninstall.json
Raw

priv/docs/methods/admin.apps.uninstall.json

{
"args": {
"app_id": {
"desc": "The ID of the app to uninstall.",
"example": "A12345",
"required": true,
"type": "string"
},
"enterprise_id": {
"desc": "The enterprise to completely uninstall the application from (across all workspaces). With an org-level token, this or `team_ids` is required. Exactly one of the arguments `enterprise_id` or `team_ids` is required to specify where the app should be removed.",
"example": "E12345",
"required": false,
"type": "string"
},
"team_ids": {
"desc": "IDs of the teams to uninstall from (max 100). With an org-level token, this or `enterprise_id` is required. Exactly one of the arguments `enterprise_id` or `team_ids` is required to specify where the app should be removed.",
"required": false,
"type": "string"
}
},
"desc": "Uninstall an app from one or many workspaces, or an entire enterprise organization.",
"errors": {
"app_not_found": "The provided `app_id` was not found.",
"can_not_uninstall": "This application can not be uninstalled via the API.",
"enterprise_not_found": "The provided `enterprise_id` was not found.",
"feature_not_enabled": "The Admin APIs feature is not enabled for this team.",
"must_revoke_access": "Organization-deployed apps cannot be uninstalled from specific workspaces using this API.",
"permission_denied": "You do not have permission to uninstall applications from the reqeusted org or workspaces.",
"restricted_action": "the user is not authorized to perform this action",
"specify_enterprise_or_teams": "Provide exactly one of `enterprise_id` or `team_ids`.",
"teams_not_found": "One or more of the provided `team_ids` were not found.",
"too_many_teams": "Too many IDs are present in `team_ids`."
},
"rate_limit": {
"label": "Tier 1: 1+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {
"user": [
{
"name": "admin.apps:write",
"url": "https://docs.slack.dev/reference/scopes/admin.apps.write"
}
]
}
}