resources_removed event
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.