huudis.account.member_removed.v1
Fires when a member is removed from a workspace.
Who receives it: the workspace.
When it fires
When DELETE /v1/iam/users/:id succeeds. The user keeps their Huudis identity and their other workspaces; deleting a whole workspace sends huudis.account.deleted instead.
Payload
{
"id": "evt_01KPG…",
"type": "huudis.account.member_removed.v1",
"accountId": "acc_01KPG40…",
"occurredAt": "2026-05-12T23:30:00.000Z",
"data": {
"accountId": "acc_01KPG40…",
"accountName": "Cafe Sumur",
"userId": "usr_01KPG…",
"userEmail": "recruit@forjio.com",
"userName": "Recruit",
"previousRole": "admin",
"removedAt": "2026-05-12T23:30:00.000Z",
"removedByUserId": "usr_01KPG30SP…"
},
"metadata": {}
}
Revoke whatever your product granted the user in this workspace.