---
title: "Delete"
method: DELETE
path: "/agents/{nameOrId}"
tags: ["agents"]
---

# Delete

`DELETE /agents/{nameOrId}`

Deletes an agent by name or ID.

## Path parameters

- `nameOrId` string, required

## Query parameters

- `project` string

## Headers

- `Authorization` string, required

## Response `200`

Success response

- AgentsDeleteResponse200
  - `success` boolean, required — Whether the agent was deleted successfully.

## Other responses

- `403` — Forbidden (resource belongs to a different organization)
- `404` — Agent not found

---

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