---
title: "Delete agent (soft delete)"
method: DELETE
path: "/v1/agents/{id}"
tags: ["Agents"]
---

# Delete agent (soft delete)

`DELETE /v1/agents/{id}`

Soft-deletes an agent by setting deletedAt timestamp. The agent is NOT permanently removed. Returns 204 even if already soft-deleted (idempotent).

## Path parameters

- `id` string, uuid, required — Agent UUID

## Response `204`

Agent soft-deleted successfully (no content)

## Other responses

- `400` — Invalid agent ID format
- `401` — Missing or invalid API key
- `403` — API key does not have access to this agent
- `404` — Agent not found

---

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