Delete account
A step of the Cloud application tree on Gradus, in the Security area: Secrets, auth, TLS, input.
Let users take their data and leave: an export, a deletion with a grace period and a clear list of what is kept.
Usually comes after: Settings page.
Prompt for your AI assistant
Read docs/index.md and the data model. List everything stored about a user across the database, object storage, the email provider, analytics, logs and any identity provider. Add to settings an export as a file the user can download, and a delete account action behind a fresh sign-in, with a plain statement of what happens. Mark the account deleted at once, end its sessions and remove its data after a stated grace period with a scheduled job, including its records at other providers. Write what is kept for legal reasons and why into docs/. Test that nothing holding that user's id remains after the period.This is https://gradus.kazet.blog/tree/cloud-application/step/delete-account as plain HTML. In a browser the page also lets you mark the step forged and copy a message for your AI assistant.