Problem
dash0 teams update only supports imperative flags (--name, --color-from, --color-to) and can only change a team's display settings.
teams create already accepts a declarative TeamDefinitionV1Alpha1 document via -f <file>, and every other asset type's update subcommand (dashboards update, views update, check-rules update, etc.) is file-based.
teams update is the odd one out: it can't take the same document shape teams create/teams get -o yaml produce, and it can't touch anything outside of display (e.g. spec.members) — that has to go through the separate add-members/remove-members commands.
This breaks the export → edit → reapply workflow that works for every other asset type: a team YAML pulled from teams get -o yaml can't be fed back into teams update.
Proposed behavior
teams update <id> -f <file> accepts a TeamDefinitionV1Alpha1 document (same shape as teams create -f) and updates the team accordingly.
- The existing
--name, --color-from, --color-to flags continue to work but are deprecated in favor of -f.
- Using the deprecated flags does not break existing scripts (backward compatible).
Problem
dash0 teams updateonly supports imperative flags (--name,--color-from,--color-to) and can only change a team's display settings.teams createalready accepts a declarativeTeamDefinitionV1Alpha1document via-f <file>, and every other asset type'supdatesubcommand (dashboards update,views update,check-rules update, etc.) is file-based.teams updateis the odd one out: it can't take the same document shapeteams create/teams get -o yamlproduce, and it can't touch anything outside of display (e.g.spec.members) — that has to go through the separateadd-members/remove-memberscommands.This breaks the export → edit → reapply workflow that works for every other asset type: a team YAML pulled from
teams get -o yamlcan't be fed back intoteams update.Proposed behavior
teams update <id> -f <file>accepts aTeamDefinitionV1Alpha1document (same shape asteams create -f) and updates the team accordingly.--name,--color-from,--color-toflags continue to work but are deprecated in favor of-f.