hi its me for a new topic, i would know if its possible with a buttom to delete account user database ? like in the profile settings the users don’t want to have a account on my app then he want to delete it with a buttom “delete my account”
Yes… you can do that.
its possible in the workflow ? or if its possible to have a little tuto
Yes… When the button is clicked, just delete the User.
But… there are a lot more things to consider…
Firstly, do you really want to delete the User from your database? Or just mark them as inactive? If you need to keep any kind of historical records, then you probably don’t want to actually delete them… (but maybe you do).
Delete User content? If the user has created content in your app - posts, tasks, comments, messages to other users, events, products, reviews, etc. - will you delete all of those as well when the user is deleted?
If not, then how will you hadn’t displaying who created those items (i.e. if a User sent a message to another User, and the you delete the Sender, what will you display when you show the recipient that message?)
And if so, then you’ll need to ensure that doesn’t have knock on effects elsewhere - i.e. if you delete a User, and all the Products a user has added get deleted as well, what will you show on transactions of other users who have purchase those products?
There is a lot to consider when think about how to handle deleting Users (something that sooo many people overlook).
i don’t have on the new workflow delete the user that’s why i post that and actually yes its a private app then yes i want to delete all thing about the user who want delete his account but thanks lrecise that