---
title: "Delete an agent"
method: DELETE
path: "/api/admin/agents/{agentId}"
tags: ["Admin"]
---

# Delete an agent

`DELETE /api/admin/agents/{agentId}`

Permanently delete an agent and all associated data

## Path parameters

- `agentId` string, required

## Response `200`

Agent deleted successfully

- object
  - `success` boolean — Operation success status
  - `message` string — Success message

## Other responses

- `400` — Agent ID is required
- `401` — Unauthorized - Admin authentication required
- `404` — Agent not found
- `500` — Server error

---

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