Clear all memories for the current user, or everything if nuclear=true.
WARNING: This deletes memories. Cannot be undone. If nuclear=true, deletes EVERYTHING (graph + cache + vectors) for dev/cleanup.
SEC-ROUTE-AUTHZ-1 H10: the nuclear path wipes the entire deployment (all tenants), so it requires the superadmin role. The ordinary scoped clear (own memories only) stays open to any authenticated user.
Query Parameters
nuclear?Nuclear
Response Body
application/json
application/json
curl -X DELETE "https://example.com/memory/clear-all"null{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string",
"input": null,
"ctx": {}
}
]
}