
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
- Auth Error
"use client"; import { useEffect } from "react"; import { getSessionCookie } from "@/actions/auth"; import { createBrowserSessionClient } from "@/lib/appwrite-...
- Prevent modifying specific attributes
How do I prevent user to only to be able to modify some of the attributes. Document level security gives full access to update whole document, what are the wor...
- Bypass Error When Creating Account With ...
Suppose user first uses email/pass for log in using xyz@gmail.com, few month later on decides to use google oauth2 with same xyz@gmail.com (or in reverse orde...
