---
title: "Delete Agent by Name"
method: DELETE
path: "/agents/name/{agent_name}"
tags: ["Agents"]
---

# Delete Agent by Name

`DELETE /agents/name/{agent_name}`

Delete an agent by its unique name.

## Path parameters

- `agent_name` string, required

## Response `200`

Successful Response

- DeleteResponse
  - `id` string, required
  - `message` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/scaleapi/apis/agentex-api.md) · [All operations](https://skmtc.net/scaleapi/apis/agentex-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scaleapi/agentex-api/versions/8f725ddc153e/schema)
