---
title: "Delete an agent"
method: DELETE
path: "/v1/workspaces/{workspaceId}/agents/{id}"
tags: ["AgentService", "Agents"]
---

# Delete an agent

`DELETE /v1/workspaces/{workspaceId}/agents/{id}`

Deletes an agent from the workspace

## Path parameters

- `workspaceId` string, required
- `id` string, required

## Response `200`

OK

## Other responses

- `default` — Default error response

---

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