Back

How to delete an acount using AppWrite SDK

  • 0
  • Auth
  • Web
  • Cloud
martins4
6 Mar, 2024, 16:31

I am trying to delete user from Auth. I haven’t find a function able to do that. 😓

TL;DR
To delete an account using the AppWrite SDK, you cannot access the users API from the client side. Refer to the documentation for more information: https://appwrite.io/docs/references/cloud/client-web/users. Make sure to perform the deletion operation on the server side as there isn't a function on the client side to delete a user from Auth with the AppWrite SDK.
Sam K
6 Mar, 2024, 16:34

Client or server?

Sam K
6 Mar, 2024, 16:35

I believe that the you can’t access users api from the client. Here’s the docs https://appwrite.io/docs/references/cloud/client-web/users

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more