How can I remove users from my React web app?. There is a section that users have a "Delete account" option, but I don't know what to use to do it š
Take a look at this documentation.
https://appwrite.io/docs/references/cloud/client-web/account#updateStatus
If you want to fully delete the account you will have to use a server side sdk with an api key that has permissions to delete accounts.
https://appwrite.io/docs/references/cloud/server-nodejs/users#delete
On the "web sdk" there isn't an "Users" class to delete users. It's necessary to have a "server sdk" to do?
Yes, to fully delete a user you will have to use the server side sdk with an api key that has permissions.
You could let the user change their status, and then create a cleanup cloud function that runs periodically deleting any users marked for deletion.
Recommended threads
- Facebook's scraper facebookexternalhit g...
share.bardbliss.com but works fine on the raw fra.appwrite.run URL. No execution logs appear when Facebook hits the custom domain. This was working before. How ...
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...
- Project Paused Despite Daily Active Usag...
I noticed that my project was automatically **paused**, even though it is actively being used. The project is an **attendance application** that is used daily b...