Skip to main content

delete_identity

Function delete_identity 

Source
pub async fn delete_identity(
    client: &KanidmClient,
    metrics: &ControllerMetrics,
    identity: &RadiusIdentity,
) -> ExecResult<DeleteOutcome>
Expand description

Remove exactly this CR’s membership edge, then delete its account. Call only after the workload has drained. An account without our marker is ExecError::AccountNotOwned and is left untouched (the finalizer turns that into a skip with a Warning event).