stytch_org_bound
This page is auto-generated from
src/auth/stytch-tenant-binding.ts. Do not edit by hand — seedocs/dev/docs-auto-sync.md.
Event string
Section titled “Event string”stytch_org_bound
Emitting helpers
Section titled “Emitting helpers”| Function | Source |
|---|---|
encodeStytchBindAuditReason | src/auth/stytch-tenant-binding.ts:369 |
Context fields
Section titled “Context fields”| Field | Type | Required | Notes |
|---|---|---|---|
stytch_org_id | string | yes | — |
by_user_id | string | yes | — |
previous_holder_slug | string | no | — |
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.