Guide

Answering a data access or deletion request for a customer

Sooner or later a customer asks for a copy of their data, or asks you to delete it. You need a repeatable way to do both, with a record that you did, and a clear line between what the platform holds and what your own app holds.

6 min read · Last checked

In short

Key points

  • A tenant export produces one ZIP of what the platform holds for that customer. Nothing is kept on the server afterwards.
  • Erasure starts with a preview, then a scheduled request with a grace period you can cancel.
  • A receipt of hashes and counts is produced when erasure finishes.
  • Data in your own database is yours to export and erase. A webhook tells you when to do it.

Export: give a customer their data

An organization admin requests the export for one tenant and confirms with their authenticator code, or their password if MFA is off. The response is the ZIP itself, so there is no download link to expire or share by mistake. Requests are recorded in the audit log.

  • manifest.json: export id, time, who asked, each section with its row count.
  • tenant.json and members.json: the tenant profile and members with role.
  • usage-meters.json and usage-adjustments.ndjson: usage values and history.
  • audit-events.ndjson: audit entries against the tenant, with change payloads left out because they can hold other people’s personal data.
  • storage-objects.ndjson: uploaded files’ name, type, size and storage key. File bytes are not embedded.

Erase: preview first

Ask for a plan for one tenant or one user. Nothing changes. The plan lists every place the platform stores data, what will happen there (delete, anonymise, retain, notify), how many records are affected, and why anything is kept. If it lists a blocker, such as a custom domain still attached or the only admin of an organization, clear that first.

Erase: schedule with a grace period

Schedule the request by typing the tenant slug or the user’s email again, and confirming with your credential. The default grace period is 7 days, adjustable from 1 to 30. Nothing is removed until it ends, and you can cancel until it starts. Failed steps retry and carry on from where they stopped; after five failed attempts the request shows as failed for a person to look at.

What is kept, and why

  • Credit and usage ledgers (ids and amounts, no names) for accounting and tax obligations.
  • The audit trail, as security evidence, pointing at the anonymised account.
  • Evidence that a terms version was accepted, without the IP address.
  • Backups are not edited. They age out on their normal retention schedule.

Your own database

The platform erases what it holds. When erasure finishes, your webhook endpoints receive tenant.deleted or user.deleted with an erasure request id, so your app can erase its copy and ignore a repeat delivery. The export archive likewise covers only platform data; add yours to the response you send.

Honest limits

What to know before you rely on this

  • Billing records in TenaBill are kept for the statutory period with the customer’s details removed. While that connection is unavailable the receipt says completed_with_gaps instead of claiming it was done.
  • Backups are not edited.
  • This article is operational guidance, not legal advice. Ask your lawyer which requests apply to you.

Questions people ask

Can a single person export their own data?

Yes. A user can export their own platform data from the account privacy page.

Does the receipt contain the deleted data?

No. It holds hashes and counts only, so it is safe to keep and to show to the person who asked.

Sources

Keep reading

Try it on the free plan

One app and five customers, no credit card required.

Request access More guides