UserRemovedevent type
A user was removed from a tenant. Stakeholder node is archived (state -> archived); related RACI edges are terminated via separate RoleRevoked events.
Full spec
{
"name": "UserRemoved",
"description": "A user was removed from a tenant. Stakeholder node is archived (state -> archived); related RACI edges are terminated via separate RoleRevoked events.",
"current_version": 1,
"actor_type_allowed": [
"human",
"system"
],
"object_type": "Stakeholder",
"payload_versions": {
"v1": {
"type": "object",
"additionalProperties": false,
"required": [
"stakeholder_id",
"tenant_id",
"removed_by",
"reason"
],
"properties": {
"stakeholder_id": {
"type": "string",
"format": "uuid"
},
"tenant_id": {
"type": "string",
"format": "uuid"
},
"removed_by": {
"type": "string",
"format": "uuid"
},
"reason": {
"type": "string",
"enum": [
"voluntary_departure",
"involuntary_departure",
"role_change",
"consolidation",
"other"
]
},
"reason_note": {
"type": "string"
}
}
}
},
"projections_consuming": [
"stakeholders_view",
"audit_log"
],
"canonicalizer_module": "event-canonicalizers/user_removed.ts"
}