
delete users with sdk

Please use the correct tags on your post

Please also explain what you’re trying to achieve, the method you’re using to attempt to achieve it, what you expect that method to do, and what the method is actually doing.

i am using web sdk i want the user to delete its own account on a button click the users should be able to delete its account completely i tried to use account.delete("id here") but it says there is no delete method on account

No, it’s not possible to delete a user from the Client SDKs

so what is the solution

You can create a Function which deletes the user.

The reason it has to be done from server side is that there’re almost certainly things you’ll have to clear up after/before deletion
Recommended threads
- TableDB.getRow() response does not conta...
This is for Web/React sdk 20.0.0 The row was created via `TableDB.createRow(...)` and I can see it in the console with the relationships correctly set. In the c...
- Looking for FullStack Developer
I'm looking for FullStack Developer who is passionated about both Frontend and Backend. If you are interested, please DM me. Thanks.
- Asynchronous Function Execution via Func...
Hi everyone, Is there a way to call a function via its function domain URL with async execution set to true?
