Delete a memory changedapi/beta/memory_stores/memories/delete
Nearest release: v2.1.280, published 20 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+11added
Lines−1removed
From line
13
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits21to this page, all time
The whole hunk
from line 13, old and new numbered
/
from line 13
1313
1414- `memory_store_id: string`
1515
16 The ID of the memory store that holds the memory (`memstore_...`).
17
1618- `memory_id: string`
1719
20 The ID of the memory to delete (`mem_...`).
21
1822## Query parameters
1923
2024- `expected_content_sha256: optional string`
2125
22 Query parameter for expected_content_sha256
26 Delete the memory only if its current `content_sha256` equals this value, given as 64 lowercase hexadecimal characters. Omit it to delete unconditionally.
2327
28 If the hashes differ, the request fails with HTTP status 409 and nothing is deleted.
29
2430## Headers
2531
2632- `"anthropic-beta": optional array of AnthropicBeta`
from line 130
124130 - `"compact-2026-09-04"`
125131
126132- `"anthropic-workspace-id": optional string`
133
134 Optional header to select the Workspace for this request. The value is a Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
135
136 Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.
127137
128138## Returns
129139
No line in this hunk matches that.