Delete a memory store
api/beta/memory_stores/delete
Nearest release: v2.1.245, published an hour 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.
api/beta/memory_stores/delete Changed · +9 / -16 lines
# Delete a memory store ## Path parameters ## Headers ## Returns ## Example ### Response (200) ## Delete a memory store ### Path Parameters ### Header Parameters ### Returns ### Example #### Response
---- -title: Delete a memory store -url: https://platform.claude.com/docs/en/api/beta/memory_stores/delete ---- +# Delete a memory store -## Delete a memory store +**DELETE** `/v1/memory_stores/{memory_store_id}` -**delete** `/v1/memory_stores/{memory_store_id}` - Delete a memory store -### Path Parameters +## Path parameters - `memory_store_id: string` -### Header Parameters +## Headers - `"anthropic-beta": optional array of AnthropicBeta`
- `"mid-conversation-tool-changes-2026-07-01"` -### Returns +## Returns -- `BetaManagedAgentsDeletedMemoryStore object { id, type }` +- `BetaManagedAgentsDeletedMemoryStore object` Confirmation that a `memory_store` was deleted.
- `type: "memory_store_deleted"` - - `"memory_store_deleted"` +## Example -### Example - -```http +```bash curl https://api.anthropic.com/v1/memory_stores/$MEMORY_STORE_ID \ -X DELETE \ -H 'anthropic-version: 2023-06-01' \
-H "X-Api-Key: $ANTHROPIC_API_KEY" ``` -#### Response +### Response (200) ```json {