app_uninstalled_team event
User has uninstalled an app
Facts
Required Scopes
Compatible APIs
Usage info
This example includes both the event wrapper and the event structure for the app_uninstalled_team event.
{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"type": "app_uninstalled_team",
"app_id": "A015CA1LGHG",
"app_name": "my-admin-app",
"app_owner_id": "U013B64J7MSZ",
"user_id": "U013B64J7SZ",
"team_id": "E073D7H7BBE",
"team_domain": "ACME Enterprises",
"event_ts": "1700001891.279278"
},
"type": "event_callback",
"authed_users": [
"U123ABC456",
"U222222222"
],
"event_id": "Ev123ABC456",
"event_time": 123456789
}
The app_uninstalled_team event payload contains information about an app that has been uninstalled from a team or organization.
Only organization-wide apps can subscribe to this event.
| Field | Description |
|---|---|
app_id | The app that was uninstalled from the team. |
app_name | The name of the app the was uninstalled from the team. |
app_owner_id | The owner of the app that was uninstalled from the team. |
user_id | The user that uninstalled the app from the team (if available). |
team_id | The team that the app was uninstalled from. |
team_domain | The domain of the team that the app was uninstalled from. |
event_ts | Time the app was uninstalled. |