$npx -y skills add BerriAI/litellm-skills --skill update-teamUpdate an existing team on a live LiteLLM proxy. Ask for the team_id and what to change (budget, models, limits), then call POST /team/update.
| 1 | # Update Team |
| 2 | |
| 3 | Update an existing team on a live LiteLLM proxy. |
| 4 | |
| 5 | ## Setup |
| 6 | |
| 7 | ``` |
| 8 | LITELLM_BASE_URL — e.g. https://my-proxy.example.com |
| 9 | LITELLM_API_KEY — proxy admin key |
| 10 | ``` |
| 11 | |
| 12 | API reference: https://litellm.vercel.app/docs/proxy/team_based_routing |
| 13 | |
| 14 | ## Ask the user |
| 15 | |
| 16 | 1. **team_id** (required) — if they don't have it, list teams first: |
| 17 | ```bash |
| 18 | curl -s "$BASE/team/list" -H "Authorization: Bearer $KEY" |
| 19 | ``` |
| 20 | 2. **What to change** — any combination of: |
| 21 | - `team_alias` (string) |
| 22 | - `max_budget` (float) |
| 23 | - `models` (list) |
| 24 | - `tpm_limit` / `rpm_limit` (int) |
| 25 | - `blocked` (bool — blocks all requests from this team) |
| 26 | |
| 27 | ## Run |
| 28 | |
| 29 | ```bash |
| 30 | curl -s -X POST "$BASE/team/update" \ |
| 31 | -H "Authorization: Bearer $KEY" \ |
| 32 | -H "Content-Type: application/json" \ |
| 33 | -d '{ |
| 34 | "team_id": "<team_id>", |
| 35 | "max_budget": <value>, |
| 36 | "models": [<models>], |
| 37 | "tpm_limit": <value> |
| 38 | }' |
| 39 | ``` |
| 40 | |
| 41 | Only include the fields being changed. |
| 42 | |
| 43 | ## Output |
| 44 | |
| 45 | Show the updated `team_id`, `team_alias`, `max_budget`, `models`. |