Delete memory
Knowledge & Memories
Delete Memory
Permanently delete a single memory by its ID.
DELETE
Delete memory
When to use it
- Right-to-deletion – remove a specific user’s memory upon request
- Cleanup – delete outdated or incorrect memories
- Privacy controls – let end users delete their own data through your app
POST /knowledge/delete_knowledge.
Endpoint
- Auth: Bearer token
- Idempotency: Idempotent - re-sending for an already-deleted memory returns
200withuser_memory_deleted: false - Async: No
Example
Query parameters
Response
Related endpoints
- Before this: List data (
kind: "memories") – browse memories before deleting - Alternative: Delete tenant – delete all memories in a tenant at once
Errors
Common codes:400 INVALID_PARAMETERS, 404 MEMORY_NOT_FOUND. See Error Responses for the full list.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Tenant ID
Example:
"tenant_1234"
Unique identifier of the memory to delete
Example:
"memory_1234"
Sub-tenant ID
Example:
"sub_tenant_4567"