user_id + agent_id combination in a single request. You don’t need to enumerate individual memory IDs — Remem removes all of them atomically and returns the total count of deleted records. This is the right tool when you need a clean slate rather than a targeted removal.
Endpoint:
DELETE https://api.remem.online/memoriesRequest Headers
Query Parameters
string
required
Wipe all memories belonging to this user.
string
required
Wipe all memories belonging to this agent. Only memories that match both
user_id and agent_id are removed.Examples
Response
200 — Success
integer
Total number of memories permanently removed for this user+agent pair.
string
Human-readable confirmation of the operation.
Error Responses
Common Use Cases
- GDPR right-to-erasure — when a user requests full deletion of their data, call this endpoint for each agent associated with their account.
- Account resets — clear all stored context when a user resets their profile or preferences.
- Testing and development — start fresh between test runs without manually deleting individual memories.