Delete org

From BerriAI/litellm-skills · View interactive version

Delete org is an AI agent skill from the GitHub repository BerriAI/litellm-skills. Delete one or more organizations from a live LiteLLM proxy. Ask for the organization_id(s) and confirm before calling DELETE /organization/delete.

How to use this skill

Skill file

Delete 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

  1. organization_id(s) — if they don't have them, list first:

```bash

curl -s "$BASE/organization/list" -H "Authorization: Bearer $KEY"

```

  1. 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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.