GDPR Deletion
V1 gives you the building blocks for data deletion workflows even though it is not a full policy engine.
Typical flow
- Identify the user and relevant sessions.
- Export their data for review.
- Soft-delete user memory with
DELETE /memory/user/{user_id}. - Restore if the deletion request was a mistake during the grace period.
- Hard-delete specific records when permanent purge is required.
Example
import asyncio
from remembr import RemembrClient
async def main() -> None:
async with RemembrClient(api_key="rk_demo") as client:
report = await client.forget_user("00000000-0000-0000-0000-000000000000")
print(report)
asyncio.run(main())