I wanted to add a button to automate with logic the deletion of the currently logged in user account, im a complete beginner, may one help?
I have no idea on how to update user ID’s or similiar.
Unfortunately there is no easy way to do what you’re requesting.
The main challenge is the lack of access to the user_id, which is needed to do a delete.
You actually need a fair bit of infrastructure to resolve that.
Honestly, you’re probably better off doing it manually. A delete my account request form, have them enter their email… you do it manually.
For anyone reading this who is using Memberstack, you can do this using a Make scenario or Zapier flow;
- Make a form with a hidden data-ms-member=“id” input
- Trigger your automation on form submission
- Delete a member module - map using the ID.
Ok thank you very much for your help, i appreciate it. =)