team_access_revoked event

Access to a set of teams was revoked from your org app

Compatibility: Events API


{
    "team_id": null,
    "enterprise_id": "EXXXXX",
    "api_app_id": "AXXXX",
    "event": {
        "type": "team_access_revoked",
        "team_ids": ["T1XX3", "TXX34"]
    }
}

The team_access_revoked event is sent to your org-wide app when your token can no longer access a workspace in that organization—in other words, it's been uninstalled from a workspace.

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.

As an app event, subscriptions require no specific OAuth permission scope.

Unavailable in the RTM API

This event type is compatible only with the Events API.

Was this page helpful?