mfa_factor_removed
This page is auto-generated from
src/auth/stytch-invite.ts. Do not edit by hand — seedocs/dev/docs-auto-sync.md.
Event string
Section titled “Event string”mfa_factor_removed
Emitting helpers
Section titled “Emitting helpers”| Function | Source |
|---|---|
encodeMfaFactorRemovedAuditReason | src/auth/stytch-invite.ts:489 |
Context fields
Section titled “Context fields”| Field | Type | Required | Notes |
|---|---|---|---|
member_id | string | yes | — |
factor_type | "totp" | yes | — |
remaining_factors | number | yes | — |
This envelope is stored in audit_log.decision_reason (varchar(256)) as a JSON object with the shape { event, ...ctx }. The audit_log row carries tenant_id, actor_user_id, and timestamp as columns alongside — those are not duplicated in the envelope.