Supabase · GDPR · App-Store ready
The in-app account deletion Apple and Google now require, plus the GDPR data export, as two drop-in Supabase Edge Functions.
✓ Real production code · ✓ Drop-in · ✓ Setup guide included · ✓ Single-project commercial use · ✓ 30-day money-back guarantee
Compliance is a requirement, not a feature, and it is easy to orphan storage files or hit a foreign-key error. This gets the deletion order and the safeguards right.
Storage wiped first (cascade never touches Storage), then the auth user, which cascades every owned row.
Returns the user's full data across your tables as a single JSON download.
Always acts on the caller's own id, so a client can never delete or export another account.
Satisfies Apple App Review 5.1.1(v) and Google Play's account-deletion policy.
deleteAccount and downloadMyData, plus the foreign-key cascade setup.
Service-role only, JWT-scoped identity, and the cascade rules spelled out.
The exact, working implementation, generalised so you drop it into your own project and move on.
Get the kit — €19Instant download · single-project commercial use · ✓ 30-day money-back guarantee
Want all three Supabase kits? Get the bundle for €39 — a third off.