mcpField
D
delete-user

delete-user

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

About delete-user

delete-user is a skill for deleting one or more users from a live LiteLLM proxy. It guides operators to find user IDs, confirm the displayed email or alias, and report deletion results or IDs not found.

Key features

  1. 01List users to find IDs
  2. 02Confirm email or alias before deletion
  3. 03Delete one or multiple users
  4. 04Report deleted counts and missing IDs

Use cases

  1. 01Remove users from a LiteLLM proxy
  2. 02Find user IDs before deletion
  3. 03Verify deletion results and missing accounts

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/berriai/litellm-skills --skill delete-user

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

Details

From the project README

Delete User

Delete one or more users 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. user_id(s) — if they don't have them, list first:
    curl -s "$BASE/user/list?page_size=25" -H "Authorization: Bearer $KEY"
    
  2. Confirm — show the user email/alias and ask for confirmation before deleting.

Run

curl -s -X POST "$BASE/user/delete" \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_ids": ["<user_id>"]}'

Multiple users: "user_ids": ["id1", "id2"]

Output

Show how many users were deleted. Warn if any IDs were not found.

Comments

Markdown supported