Supabase · GDPR · App-Store ready

Account Deletion + Data Export

The in-app account deletion Apple and Google now require, plus the GDPR data export, as two drop-in Supabase Edge Functions.

Get the kit — €19 Instant download

✓ Real production code  ·  ✓ Drop-in  ·  ✓ Setup guide included  ·  ✓ Single-project commercial use  ·  ✓ 30-day money-back guarantee

Account Deletion + Data Export cover

The plumbing nobody enjoys writing.

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.

What you get

Delete in the right order

Storage wiped first (cascade never touches Storage), then the auth user, which cascades every owned row.

One-call GDPR export

Returns the user's full data across your tables as a single JSON download.

Identity from the JWT

Always acts on the caller's own id, so a client can never delete or export another account.

Store-compliant

Satisfies Apple App Review 5.1.1(v) and Google Play's account-deletion policy.

Client helpers included

deleteAccount and downloadMyData, plus the foreign-key cascade setup.

Security guide

Service-role only, JWT-scoped identity, and the cascade rules spelled out.

From the writeup, packaged · just €19

Skip the rabbit hole. Ship it.

The exact, working implementation, generalised so you drop it into your own project and move on.

Get the kit — €19

Instant download · single-project commercial use  ·  ✓ 30-day money-back guarantee

Want all three Supabase kits? Get the bundle for €39 — a third off.