DELETE /api/memories/:id
Hard-delete a single memory. Fires memory.deleted webhook. Idempotent — deleting a missing id still returns 204.
curl -X DELETE https://www.mnueron.com/api/memories/01HQB9R3MV… \
-H "Authorization: Bearer $MNUERON_API_TOKEN"
Response
204 No Content
What gets removed
- The memory row
memory_entitiesedges (CASCADE)memory_recallsrows (CASCADE)memory_feedbackrows (CASCADE)
Entities, relations, and exports are not touched.
Bulk delete
To delete many at once, use DELETE /api/memories/batch with an ids[] array.
Audit trail
A memory.delete row is written to audit_log with the deleting user + token + memory id. You can fetch it via GET /api/events — the deleted memory's id appears under target_id even though the memory itself is gone.