Price: FREE
Path Parameters
UUID of the memory to delete.
Response (200)
The deleted memory’s UUID.
Deletion is soft — it sets deleted_at on the record. Deleted memories are excluded from all queries (recall, list). This allows future recovery if needed.
Errors
| Status | Description |
|---|
| 404 | Memory not found (or already deleted, or belongs to another wallet). |
| 409 | Memory is immutable and cannot be deleted. |
| 422 | Invalid UUID format. |
Example
curl -X DELETE https://api.memoclaw.com/v1/memories/550e8400-e29b-41d4-a716-446655440000
{
"deleted": true,
"id": "550e8400-e29b-41d4-a716-446655440000"
}
Bulk Delete — DELETE /v1/memories
Delete multiple memories in a single request. Also free.
Price: FREE
Request Body
Array of memory UUIDs to delete (max 100).
Response (200)
Number of memories successfully deleted.
Array of IDs that could not be deleted (not found, immutable, or wrong wallet), if any.
Example
curl -X DELETE https://api.memoclaw.com/v1/memories \
-H "Content-Type: application/json" \
-H "x-wallet-auth: 0xYourWallet:1699900000:0xSignature..." \
-d '{"ids": ["id-1", "id-2", "id-3"]}'
{
"deleted": 3,
"errors": []
}
Errors
| Status | Description |
|---|
| 422 | ids is missing, empty, or exceeds 100 items. |