Each team is modelled as a CRD:
team.yaml12345678910111213141516apiVersion: dash0.com/v1alpha1kind: Dash0Teammetadata:name: backendlabels:dash0.com/id: team_01kvdm62v1e1hrz93egm447bxwspec:display:name: Backenddescription: Owns backend services and the data platform.color:from: "#6366F1"to: "#8B5CF6"members:- alice@example.com- bob@example.com
You can download the YAML of a team from its page in the Organization settings:
Dash0 CLI
Support is added in the CLI version v1.16.0 and above.
The teams command tree is currently experimental and requires the --experimental (-X) flag; apply picks up kind: Dash0Team documents without any flag.
1234567891011121314# Create or replace a team from a YAML filedash0 apply -f team.yaml# List all teamsdash0 -X teams list# Get a team as YAML (round-trippable with `apply -f`)dash0 -X teams get <origin-or-id> -o yaml# Update a team by re-applying the edited YAMLdash0 apply -f team.yaml# Delete a teamdash0 -X teams delete <origin-or-id> --force
The exported YAML round-trips through apply -f without post-processing, and membership renders as email addresses on read regardless of whether the write used emails or internal ids.
Terraform provider
With the Terraform Provider for Dash0 v1.15.0 and above:
team.tf123456789101112131415161718resource "dash0_team" "backend" {team_yaml = <<-YAMLapiVersion: dash0.com/v1alpha1kind: Dash0Teammetadata:name: backendspec:display:name: Backenddescription: Owns backend services and the data platform.color:from: "#6366F1"to: "#8B5CF6"members:- alice@example.com- bob@example.comYAML}
Kubernetes operator
Using the Dash0 Operator for Kubernetes v1.50.0, create the Dash0Team resource in one of your namespaces with a Dash0Monitoring resource and your team will be synchronized with the Dash0 backend.
