---
title: "Delete Agent"
method: DELETE
path: "/v1/agents/{agent_id}"
tags: ["Agents"]
---

# Delete Agent

`DELETE /v1/agents/{agent_id}`

Delete an agent

Example Request:
```bash
curl -X DELETE "http://localhost:4000/v1/agents/123e4567-e89b-12d3-a456-426614174000" \
    -H "Authorization: Bearer <your_api_key>"
```

Example Response:
```json
{
    "message": "Agent 123e4567-e89b-12d3-a456-426614174000 deleted successfully"
}
```

## Path parameters

- `agent_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-21** `6246f8d427b7` — 2 info
  - api tag `Agents` added
  - api tag `agents` removed
- **2026-09-19** `c357baf422ab` — 2 info
  - api tag `agents` added
  - api tag `Agents` removed
- **2026-09-18** `082b5fabd909` — 4 info
  - api tag `Agents` added
  - api tag `agents` removed
  - 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
- **2026-09-15** `b408bdb637df` — 2 info
  - api tag `agents` added
  - api tag `Agents` removed
- **2026-09-12** `0915d6a9ba99` — 2 info
  - api tag `Agents` added
  - api tag `agents` removed

[Full history](https://skmtc.dev/flock/apis/litellm-api/changes/v1/agents/:agent_id/delete.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/731afbea6a1b?raw)
