team_access_revoked event
Access to a set of teams was revoked from your org app
Facts
Required Scopes
No scopes required!
Compatible APIs
Usage info
This example includes both the event wrapper and the event structure for the team_access_revoked event.
{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"team_id": null,
"enterprise_id": "EXXXXX",
"api_app_id": "AXXXX",
"event": {
"type": "team_access_revoked",
"team_ids": [
"T1XX3",
"TXX34"
]
}
},
"type": "event_callback",
"authed_users": [
"U123ABC456",
"U222222222"
],
"event_id": "Ev123ABC456",
"event_time": 123456789
}
The team_access_revoked event is sent to your organization-ready app when your token can no longer access a workspace in that organization—in other words, it's been uninstalled from a workspace.