Skip to main content

DELETE /memory/{id}

Permanently delete a memory by ID.

Request

DELETE https://api.lawmem.ai/memory/{id}
Authorization: Bearer YOUR_API_KEY

Example

curl -X DELETE https://api.lawmem.ai/memory/mem_a1b2c3d4 \
-H "Authorization: Bearer YOUR_API_KEY"

Response

{
"deleted": true,
"id": "mem_a1b2c3d4"
}
caution

Deletion is permanent and immediate. Deleted memories cannot be recovered.