---
title: "Delete all agent memories"
method: DELETE
path: "/api/memory/{agentId}/memories"
tags: ["memory"]
---

# Delete all agent memories

`DELETE /api/memory/{agentId}/memories`

## Request

- Base URL: `http://localhost:3000`
- URL: `http://localhost:3000/api/memory/{agentId}/memories`
- Auth: none declared

Delete all memories for a specific agent

## Path parameters

- `agentId` string, uuid, required

## Response `200`

Memories deleted successfully

- object
  - `success` boolean
  - `data` object
    - `deleted` integer
    - `message` string

## Other responses

- `400`: Invalid agent ID
- `404`: Agent not found
- `500`: Error deleting memories

---

[API](https://skmtc.dev/elizaos/apis/eliza-os-api.md) - [All operations](https://skmtc.dev/elizaos/apis/eliza-os-api/llms.txt) - [OpenAPI document](https://skmtc.dev/elizaos/apis/eliza-os-api/revisions/d606a12682bb?raw)
