When it fires
After RevokeInviteService succeeds. Fires for the dashboard revoke action and for v1 API DELETE /invites/{id}.
This only covers invitations that are still pending. Once an invite has been accepted the person is a member, and taking their access away emits member.removed instead.
Payload
ts
{
type: 'member.invite_revoked',
data: {
invite: {
id: string // invite id, as returned by GET /v1/invites
email: string
}
}
}Example
json
{
"type": "member.invite_revoked",
"data": {
"invite": {
"id": "0192a1b2-c3d4-7000-8000-000000000060",
"email": "alice@example.com"
}
}
}