Skip to content

mixpanel_org_session_settings (Resource)

Manages organization-level session settings — controls session timeout duration and related behavior for users in the organization. The settings payload is passed through to the Mixpanel organization session configuration. Configure these settings in the Mixpanel webapp under Organization Settings > Security.

Example Usage

# Organization session settings. Requires an organization-admin service account.
resource "mixpanel_org_session_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:

import {
  to = mixpanel_org_session_settings.org
  id = "7654321"
}