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

# Delete agent

`DELETE /v2/agents/{agent_key}`

Permanently remove an agent and all associated configuration from the workspace. Terminate active sessions and the key becomes reusable.

## Path parameters

- `agent_key` string, required — The unique key of the agent to delete

## Response `204`

Agent successfully deleted. No content is returned, but the agent has been permanently removed from the workspace.

## Other responses

- `404` — Agent not found. The specified agent key does not exist in the workspace or has already been deleted.

---

[API](https://skmtc.net/orq-ai/apis/orq-ai-api.md) · [All operations](https://skmtc.net/orq-ai/apis/orq-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/orq-ai/orq-ai-api/revisions/4fdc24e562eb/schema)
