mixpanel_twofactor_settings (Resource)¶
Manages organization-level two-factor authentication (2FA) settings — controls whether and how 2FA is enforced for users in the organization. The settings payload is passed through to the Mixpanel organization 2FA configuration. Configure these settings in the Mixpanel webapp under Organization Settings > Security.
Example Usage¶
# Organization two-factor authentication settings. Requires an organization-admin service account.
resource "mixpanel_twofactor_settings" "org" {
organization_id = 7654321
settings = jsonencode({
# Settings structure is determined by the Mixpanel API
# Consult the Mixpanel organization settings UI for available options
})
}
Schema¶
Optional¶
organization_id(Number)settings(String)
Read-Only¶
id(String) The ID of this resource.
Import¶
This is a singleton resource scoped by organization. Import using the organization ID: