---
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/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

> 14 revisions in range; 12 could not be searched.

- **2026-08-29** `404bba17aabe` — 2 info
  - api tag `Agents` added
  - api tag `agents` removed

[Change 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-service-production.skmtc.workers.dev/v1/apis/flock/litellm-api/revisions/404bba17aabe/schema)
