You must enable javascript in order to use the Slack API Documentation. You can do this in your browser settings.
Go to Slack

resources_removed event

Developer preview has ended

This feature was exclusive to our workspace apps developer preview. The preview has now ended, but fan-favorite features such as token rotation and the Conversations API will become available to classic Slack apps over the coming months.

Access to a set of resources was removed for your app

Compatibility: Events API


{
        "token": "XXYYZZ",
        "team_id": "TXXXXXXXX",
        "api_app_id": "AXXXXXXXXX",
        "event": {
                "type": "resources_removed",
                "resources": [
                        {
                                "resource": {
                                        "type": "im",
                                        "grant": {
                                                "type": "specific",
                                                "resource_id": "DXXXXXXXX"
                                        }
                                },
                                "scopes": [
                                        "chat:write:user",
                                        "im:read",
                                        "im:history",
                                        "commands"
                                ]
                        }
                ]
        },
        "type": "event_callback",
        "authed_teams": [],
        "event_id": "EvXXXXXXXX",
        "event_time": 1234567890
}

Subscribe to this event to receive deliveries as users uninstall your Slack app and remove your app to channels & conversations.

See Permissions API for further detail.

Events API compatibility

Subscribe to this event via the Events API.

Events of this type will be wrapped in metadata when sent via the Events API.

Unavailable in the RTM API

This event type is compatible only with the Events API.