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?
You must do this server side with something like an Appwrite function that will also delete all their data.
Here's the method: https://appwrite.io/docs/references/cloud/server-nodejs/users#delete
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
If you need help seeing the http request, update the docs drop-down to show REST
i didn't understand
Go to the top of the page... There's a drop down for the language
Recommended threads
- Locked out of account
Hey guys, I have a paid account and have been locked out. Apologies for using this method, but I'm getting no response via the contact us page. I had a old do...
- Transaction Error
AppwriteException: Transaction with the requested ID could not be found. at Generator.next (<anonymous>) { code: 404, type: 'transaction_not_found', r...
- Can not get the logged in user data in N...
I'm trying to get the user data after i log in with otp but it get this error : AppwriteException: User (role: guests) missing scopes (["account"]) at Gen...