---
title: "Delete User"
method: POST
path: "/user/delete"
tags: ["Internal User management"]
---

# Delete User

`POST /user/delete`

delete user and associated user keys

```
curl --location 'http://0.0.0.0:4000/user/delete' 
--header 'Authorization: Bearer sk-1234' 
--header 'Content-Type: application/json' 
--data-raw '{
    "user_ids": ["45e3e396-ee08-4a61-a88e-16b3ce7e0849"]
}'
```

Parameters:
- user_ids: List[str] - The list of user id's to be deleted.

## Headers

- `litellm-changed-by` string, nullable — The litellm-changed-by header enables tracking of actions performed by authorized users on behalf of other users, providing an audit trail for accountability

## Request body

- DeleteUserRequest
  - `user_ids` string[], required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-18** `082b5fabd909` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/flock/apis/litellm-api/changes/user/delete/post.md)

---

[API](https://skmtc.dev/flock/apis/litellm-api.md) · [All operations](https://skmtc.dev/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flock/apis/litellm-api/revisions/b694deb1e459?raw)
