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

# Delete an agent

`DELETE /v2/agents/{uid}`

Permanently deletes an agent.

Returns `409 Conflict` if the agent is currently linked to a phone number or campaign.

## Response `204`

Agent deleted.

## Other responses

- `401` — Missing or invalid API key.
- `404` — The requested resource does not exist.
- `409` — The resource is in use and cannot be deleted.
- `429` — Rate limit exceeded.
- `500` — Unexpected server error.

---

[API](https://skmtc.net/openmicai/apis/openmic-v1-external-api.md) · [All operations](https://skmtc.net/openmicai/apis/openmic-v1-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openmicai/openmic-v1-external-api/revisions/58dc5cff0ca7/schema)
