About delete-org
An operational skill for deleting one or more organizations from a live LiteLLM proxy. It helps identify organizations and show their aliases, then requests confirmation before deletion.
Key features
- 01List organizations to find IDs
- 02Show organization aliases and confirm before deletion
- 03Delete multiple organizations in one request
- 04Display deleted organization IDs and aliases
Use cases
- 01Clean up organizations in a LiteLLM proxy
- 02Delete multiple confirmed organizations
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ berriai/ litellm-skills --skill delete-orgAfter installing, type/delete-orgin Claude Code to confirm it loaded.
Details
From the project READMEDelete Organization
Delete one or more organizations 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
- organization_id(s) — if they don't have them, list first:
curl -s "$BASE/organization/list" -H "Authorization: Bearer $KEY" - Confirm — show the org alias and ask for confirmation before deleting.
Run
curl -s -X DELETE "$BASE/organization/delete" \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{"organization_ids": ["<org_id>"]}'
Output
Show the deleted org ID(s) and alias(es) from the response.
Comments
Markdown supported