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

# Delete an agent

`DELETE /agents/{agent_id}`

Permanently deletes an agent.

## Path parameters

- `agent_id` string, required

## Response `200`

OK

- DeleteAgentResponse — Confirmation object returned after a successful deletion.
  - `id` string, required — ID of the deleted agent.
  - `object` string, required — Always `agent`.
  - `deleted` boolean, required — Always `true` for successful deletions.
  - `request_id` string, required — Unique identifier for the API request. Include this when contacting support.

## Other responses

- `400` — Bad request — validation error or malformed input.
- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Not found — the requested resource does not exist.
- `409` — Conflict — the request is valid but cannot be completed in the current state.
- `422` — Unprocessable content — the request body is understood but contains invalid values.
- `429` — Too many requests or session concurrency exceeded. Retry with backoff; honor Retry-After and RateLimit headers when present.
- `500` — Internal server error.

---

[API](https://skmtc.dev/deck/apis/deck-api.md) · [All operations](https://skmtc.dev/deck/apis/deck-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/deck/deck-api/revisions/eba6e2cc9351/schema)
