# ed memory erase

> Deletes one episode: its chunks, its claims and their corroborations, its mention in belief evidence, and, when nothing else shares the source, the original…

- Canonical URL: https://getedith.pro/docs/cli/memory/erase
- Updated: 2026-12-02

Deletes one episode: its chunks, its claims and their corroborations, its
mention in belief evidence, and, when nothing else shares the source, the
original file in the vault.

Usage:

```
ed memory erase <id> --yes [--json] [--endpoint <url>]
```

| Name | Type / values | Default | What it does |
| --- | --- | --- | --- |
| `<id>` | episode UUID | required | The episode to erase. |
| `--yes` | flag | off | Actually delete. Without it the command refuses and nothing happens. |
| `--json` | flag | off | Emit JSON on stdout. |
| `--endpoint` | URL | resolution order | Memory API base URL. |

Examples:

```
ed memory episode 4ec1e64d-cb19-48e5-baef-0f098498ce20
ed memory erase 4ec1e64d-cb19-48e5-baef-0f098498ce20 --yes
```

Erasing cannot be undone, which is why `--yes` is mandatory: without it the
command exits 2 and tells you to read the episode first. Beliefs formed from
the episode survive, but the episode's id is removed from their evidence, so
`ed memory why` stops citing it. An id Memory does not know exits 1
with `no such episode`. This is the one-record cousin of
[`ed memory wipe`](https://getedith.pro/docs/cli/memory/wipe); for a conversation rather than an episode,
[`ed memory forget`](https://getedith.pro/docs/cli/memory/forget) is the right verb.

`--json` is
`{erased,claimsDeleted,chunksDeleted,sourceDeleted,vaultFileRemoved}`.
`sourceDeleted` and `vaultFileRemoved` are false when another episode still
uses the same source. Export the memory, including media, before erasing if the
episode might be needed later.

## Where to go next

- [`ed memory episode`](https://getedith.pro/docs/cli/memory/episode), read it before erasing it
- [`ed memory wipe`](https://getedith.pro/docs/cli/memory/wipe), all of it at once
- [`ed memory`](https://getedith.pro/docs/cli/memory), the rest of this group
- [All `ed` commands](https://getedith.pro/docs/cli)

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
