Answers for "firebase remove user account"

1

firebase auth delete account

firebase.auth().currentUser.delete()
Posted by: Guest on July-14-2021
0

firebase admin delete user

admin
  .auth()
  .deleteUser(uid)
  .then(() => {
    console.log('Successfully deleted user');
  })
  .catch((error) => {
    console.log('Error deleting user:', error);
  });
Posted by: Guest on June-12-2021

Browse Popular Code Answers by Language