mcpField
D
delete-org

delete-org

github.com/berriaiCloud & DevOps103115 installsUpdated 25w ago
Repository

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

  1. 01List organizations to find IDs
  2. 02Show organization aliases and confirm before deletion
  3. 03Delete multiple organizations in one request
  4. 04Display deleted organization IDs and aliases

Use cases

  1. 01Clean up organizations in a LiteLLM proxy
  2. 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-org

After installing, type/delete-orgin Claude Code to confirm it loaded.

Details

From the project README

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:
    curl -s "$BASE/organization/list" -H "Authorization: Bearer $KEY"
    
  2. 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