Erasing an end user
When one of your customers asks to be forgotten, or closes their account with you, erase them in
Beru with their end_user_id:
curl -X DELETE https://api.beru.airesearchlabs.si/v1/end-users/customer_4821 \ -H "Authorization: Bearer $BERU_API_KEY"{ "erased": true, "counts": { "documents": 2, "chunks": 14, "memories": 5, "messages": 12, "query_logs": 31 }}In Python, beru.end_users.erase("customer_4821"); in TypeScript,
await beru.endUsers.erase("customer_4821").
What’s deleted, immediately
Section titled “What’s deleted, immediately”- Their private documents and the stored files.
- Everything learned from those documents.
- Their memories, the messages sent for memory extraction, their conversations, and every question they asked with its answer.
Shared documents and other people’s data are untouched. The console’s End users page has an Erase button that does the same.
What’s kept
Section titled “What’s kept”Only proof that the erasure happened: a one-way SHA-256 hash of the id, the counts above, who asked and when. The id itself can’t be recovered from it. Usage counts for billing are kept, as they hold no personal data. Copies in database backups are overwritten within 7 days.