Sample - Slack Web API
GET/apps.uninstall

Uninstall an app from a workspace

Triggers uninstallation of an app from a workspace. Provide the authentication and application credentials accepted by the app installation flow to identify the app and authorize its removal.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

3 parameters
tokenstringoptional
Authentication token for the app; the required scope is `none`.
client_idstringoptional
Application identifier issued when the app was created.
client_secretstringoptional
Application secret issued when the app was created.

2 status codes
200Returns an object with `ok` set to true confirming that the app was uninstalled.
okbooleanrequired
Allowed:true
defaultReturned when the application credentials, authentication, authorization, or request parameters are invalid; the response contains `ok` set to false and an `error` value.
callstackstringoptional
Note: PHP callstack is only visible in dev/qa
errorstringrequired
Allowed:invalid_client_idbad_client_secretclient_id_token_mismatchnot_authedinvalid_authaccount_inactivetoken_revokedno_permissionorg_login_requireduser_is_botinvalid_arg_nameinvalid_array_arg
okbooleanrequired
Allowed:false

Error handling

Use a valid token when authenticating the request with a token. When using application credentials instead, client_id and client_secret must be the values issued for the application.