mixpanel_team (Resource)¶
Adds users to a Mixpanel team — a named group of users within an organization. Teams simplify access management by allowing you to assign permissions to groups rather than individual users.
Example Usage¶
# An organization team. Requires an organization-admin service account.
# `key` is the team name as it appears in the org teams list.
resource "mixpanel_team" "analysts" {
organization_id = 7654321
key = "Analysts"
payload = jsonencode({ teams = ["Analysts"] })
}
Schema¶
Required¶
key(String) Read-selection key for this association (the team name as it appears in the org teams list, or the team_id for update routing). Changing it forces a new association.payload(String) jsonencode'd request body for the create/update/delete verbs (the API bodies are untyped).
Optional¶
organization_id(String) Organization ID. Defaults to the provider organization.
Read-Only¶
id(String) Synthetic composite identity: ": ".
Import¶
Import using the composite identifier ORGANIZATION_ID:TEAM_NAME: