CRM delete member

I can register members using wixUsers.register .

I want members to be able to delete their accounts if they so choose from Wix CRM. How is this achieved ?

It aint! There is no support for deleting an account from Wix Code today.

So if a person registers and becomes a site member there is no way for them to delete their account, surely not ?

@mikemoynihan99 read this
https://support.wix.com/en/article/gdpr-permanently-deleting-your-wix-account

@andreas-kviby
That link is talking about people that have wix accounts. My question referers to people that become members on websites that are created using the wix platform. These members do not have wix accounts. Im wanting to know how these non wix users delete their accounts

@mikemoynihan99 hey, ok sorry. Well I think Wix actually do not allow a user to delete themselves from your site. You can do that manually in Contacts & CRM. There should be a solution for us to do like wixUsers.delete(“user-id”); to get rid of the user and all the users data as well in some way to be fully compliant with the GDPR. You can make your own system to handle this in a false way that makes the user believe they are deleted and cannot login anymore and then use that list of “deleted” users to actually go in to contacts and delete them for real.

Start up by creating this
https://support.wix.com/en/article/tutorial-how-to-get-explicit-opt-in-consent-from-your-users-using-wix-code

Then check that value if they have given you consent or asked for deletion in Site page code and if they have deleted themselves do not allow them to login and redirect them to a page that says “Your account is being deactivated and deleted”.

I don’t know if I give you a better answer now but just trying to give you some different ways of handling this. I mean, if you delete your Facebook account it is not deleted, not even after the 30 days or whatever they say. Your account will never be deleted.

@andreas-kviby
Thanks for your feedback. Seem like a pretty big oversight in the wixUsers API not to allow members to de-activate or delete their accounts :person_facepalming: