Delete personal data
A user can ask to delete their account and the personal data they created in ERPNext. ERPNext anonymizes the data: it replaces the personal values with random values. Data that the business must keep by law is not deleted.
The anonymized data includes:
- the user account: user name, full name, birth date, phone and mobile numbers, location, interests, bio, email signature, and email,
- contacts, addresses, and communications,
- the data of leads and opportunities, such as phone numbers, fax, website, and name.
Request the deletion
The user does these steps:
- Open
https://<your-site>/request-for-account-deletion. - Enter the email address of their account and submit.
- Open the verification email and select the link.
Process the request
The request is a Personal Data Deletion Request. Its Status shows where it is:
| Status | Meaning |
|---|---|
| Pending Verification | The user submitted the form but did not select the link in the email yet. ERPNext removes unverified requests after 7 days. |
| Pending Approval | The user verified the request. A System Manager can now delete the data. |
| On Hold | A System Manager put the request on hold. |
| Deleted | The personal data is anonymized. |
To delete the data:
- Open the Personal Data Deletion Request list and open the request.
- Select Delete Data. Or select Put on Hold to wait.
Delete automatically
In Website Settings, in Account Deletion Settings:
- Automatically delete account within (hours): ERPNext deletes the data of a verified request after this many hours. Set it to 0 to turn this off.
- Show account deletion link in My Account page: shows the deletion form link to website users on their account page.