# DELETE /memory/:memory_id

**Resource:** [Agent Memory](./memory.md)  
**MCP tool:** `delete_memory`  
**Scopes:** `memory:write`  
**Write operation:** yes

Soft-delete a memory. Sets deleted_at; the row is preserved for audit but no longer surfaces in list / search / get calls. Reversible only by admin SQL.

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `memory_id` | path | string | yes |  |

## Request example

```bash
curl -X DELETE   "https://api.trustpager.com/functions/v1/api/v1/memory/:memory_id"   -H "Authorization: Bearer YOUR_API_KEY"
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`