About delete-team
An operational skill for deleting one or more teams from a live LiteLLM proxy. It first helps identify teams and show their aliases, then requests confirmation before deletion.
Key features
- 01List teams to find IDs
- 02Show team aliases and confirm before deletion
- 03Delete multiple teams in one request
- 04Display the deleted teams list
Use cases
- 01Clean up teams in a LiteLLM proxy
- 02Delete multiple confirmed teams
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ berriai/ litellm-skills --skill delete-teamAfter installing, type/delete-teamin Claude Code to confirm it loaded.
Details
From the project READMEDelete Team
Delete one or more teams from a live LiteLLM proxy.
Setup
LITELLM_BASE_URL — e.g. https://my-proxy.example.com
LITELLM_API_KEY — proxy admin key
Ask the user
- team_id(s) — if they don't have them, list first:
curl -s "$BASE/team/list" -H "Authorization: Bearer $KEY" - Confirm — show the team alias and ask for confirmation before deleting.
Run
curl -s -X POST "$BASE/team/delete" \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{"team_ids": ["<team_id>"]}'
Multiple teams: "team_ids": ["id1", "id2"]
Output
Show the deleted_teams list from the response.
Comments
Markdown supported