Skip to main content

subteam_self_removed event

You have been removed from a User Group

Facts

Required Scopes
Compatible APIs

Usage info

This example includes both the event wrapper and the event structure for the subteam_self_removed event.

{
"token": "XXYYZZ",
"team_id": "T123ABC456",
"api_app_id": "A123ABC456",
"event": {
"type": "subteam_self_removed",
"subteam_id": "S0615G0KT"
},
"type": "event_callback",
"authed_users": [
"U123ABC456",
"U222222222"
],
"event_id": "Ev123ABC456",
"event_time": 123456789
}

The subteam_self_removed event is sent to you when you have been removed to an existing User Group. Clients can use this to update their local list of User Groups.

This event is not available to bot users subscriptions in the Events API.