> ## Documentation Index
> Fetch the complete documentation index at: https://docs.maximem.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# memories.delete

> Permanently delete a memory by its ID.

```python theme={null}
await sdk.memories.delete(memory_id)
```

Permanently delete a specific memory. The memory is removed from both the vector store and the graph store. Associated entity references are updated but the entities themselves are not deleted.

### Parameters

<ParamField path="memory_id" type="UUID" required>
  The memory ID to delete.
</ParamField>

### Returns

A confirmation dict.

<ResponseField name="memory_id" type="UUID">
  The ID of the memory that was deleted.
</ResponseField>

<ResponseField name="deleted_at" type="datetime">
  Server timestamp at which the deletion was applied.
</ResponseField>

### Example

```python theme={null}
from maximem_synap import MaximemSynapSDK
from uuid import UUID

sdk = MaximemSynapSDK(api_key="synap_your_key_here")
await sdk.initialize()

result = await sdk.memories.delete(UUID("a1b2c3d4-e5f6-7890-abcd-ef0123456789"))
print(result["memory_id"])
print(result["deleted_at"])
```

<Warning>
  Memory deletion is permanent and cannot be undone.
</Warning>

### Raises

* `SynapAuthError`: when the API key is missing or invalid.
* `SynapNotFoundError`: when the `memory_id` does not exist or is outside the caller's scope.

### See also

* [memories.get](/sdk-reference/memories/get)
* [memories.update](/sdk-reference/memories/update)
* [memories.create](/sdk-reference/memories/create)
