# Delete User

> Delete one or more users from a live LiteLLM proxy. Ask for the user_id(s) and confirm before calling POST /user/delete.

- Skill: `berriai/delete-user` (Agent Skill)
- Install (CLI): `npx skillmds@latest add berriai/delete-user`
- Raw SKILL.md: https://api.skillmd.com/api/skills/berriai/delete-user/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- License: MIT
- Author: BerriAI (https://skillmd.com/u/berriai)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/berriai/delete-user

---


# 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:
   ```bash
   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

```bash
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.

