Rank 2: Process
Actually we are building a chat application using react & Appwrite in the profile section we want to add a button that when the user click on it so it's account get deleted so is there any way to do it using the user id?
Votes
0
Replies
6
Participants
Unknown
Messages
7
Rank 2: Process
Actually we are building a chat application using react & Appwrite in the profile section we want to add a button that when the user click on it so it's account get deleted so is there any way to do it using the user id?
Admin
You must do this server side with something like an Appwrite function that will also delete all their data.
Admin
Here's the method: https://appwrite.io/docs/references/cloud/server-nodejs/users#delete
Rank 2: Process
for example using postman if we have the user id and we want to perform the delete req so can we do something like this?
Correct me if i am doing something wrong
Admin
If you need help seeing the http request, update the docs drop-down to show REST
Rank 2: Process
i didn't understand
Admin
Go to the top of the page... There's a drop down for the language