group.deleted
Group deleted; its members lose the permissions it granted.
project_id is always null for group events. This is the final event you
will receive for the given group_id.
When this fires
A group is deleted. Its permission and ability attachments are detached and its membership rows are removed; the people in it stay in the team but lose whatever the group granted.
Required ability
group:view — token must carry this at mint time to subscribe an endpoint to this event.
Payload
{
"id": "evt_01HX...",
"type": "group.deleted",
"created_at": "2026-05-22T10:05:00Z",
"api_version": "2026-05-01",
"project_id": null,
"data": {
"team_id": "a83f0d51-4c92-4b7e-8615-2fd9e70a3c86",
"group_id": "1f68d92a-04c5-4e83-97b1-3d6a05e2f847",
"code": "core-community"
}
}Field reference
| Field | Type | Notes |
|---|---|---|
id | string ULID | Unique event id, prefixed evt_. Use for idempotent processing. |
type | string | Always group.deleted for this event. |
created_at | ISO 8601 timestamp | Server-side emission time. |
api_version | string | Webhook API contract version. |
project_id | null | Always null — account-level event. |
data.team_id | string UUID | Team that owned the group. |
data.group_id | string UUID | Group that was deleted. |
data.code | string | Last-known stable group code. |
Caveats
- No per-collaborator event fires: the members'
group_userrows cascade away with the group, andgroup.members_syncedis emitted only by an explicit membership sync. - Members of the group are not removed from the team; only the group and the access it granted go away.
Related events
group.created— first event in the lifecycle.- Group events overview — back to family overview.
How is this guide?