---
title: "Delete agent soul"
method: DELETE
path: "/settings/agent/souls/{soulId}"
tags: ["agent"]
---

# Delete agent soul

`DELETE /settings/agent/souls/{soulId}`

Deletes an agent soul. Requires admin role.

## Path parameters

- `soulId` string, required

## Query parameters

- `remoteNode` string

## Response `204`

Soul deleted

## Other responses

- `400` — Invalid soul ID
- `401` — Not authenticated
- `403` — Requires admin role
- `404` — Soul not found
- `default` — Unexpected error

## Changes

- **2026-05-24** (v1) `8a2d5d3e9608` — 5 warning
  - added the new `rate_limited` enum value to the `code` response property for the response status `400`
  - added the new `rate_limited` enum value to the `code` response property for the response status `401`
  - added the new `rate_limited` enum value to the `code` response property for the response status `403`
  - added the new `rate_limited` enum value to the `code` response property for the response status `404`
  - …1 more
- **2026-04-30** (v1) `50e1d517afc1` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/dagucloud/apis/dagu/changes/settings/agent/souls/:soulId/delete.md)

---

[API](https://skmtc.dev/dagucloud/apis/dagu.md) · [All operations](https://skmtc.dev/dagucloud/apis/dagu/llms.txt) · [OpenAPI document](https://skmtc.dev/dagucloud/apis/dagu/revisions/c5b8d495669e?raw)
