Skip to content

mixpanel_custom_role (Data Source)

Reads a Mixpanel custom role — a named set of permissions that can be assigned to organization members. Custom roles define granular access controls across projects, data management, and administrative functions.

Example Usage

data "mixpanel_custom_role" "viewer" {
  project_id = 1234567
  role_id    = "abc123"
}

See the mixpanel_custom_role resource to create and manage custom roles.

Schema

Required

  • project_id (Number)
  • role_id (String)

Read-Only

  • created (String)
  • created_by_user_id (Number)
  • description (String)
  • is_default (Boolean)
  • modified (String)
  • name (String)
  • permissions (List of String)