Remove/Delete user account from webSDK

Hi there,
I could not find documentation for how to remove user by webSDK. Lets say a user wants to DELETE his/her user account. is there a realm function for this? Kindly tell me a safe right way of doing this.

Second question I also wander how can a user deactivate their account for a period of time but not delet it. (From webSDK)

Notice I dont mean deleting the user form Realm UI. I know this.

Kind regards,
Behzad Pashaie

Behzad - Did you get the answer you needed in your other post?