Delete all users from firebase auth console

后端 未结 16 1695
臣服心动
臣服心动 2020-12-04 11:53

Is there an easy way to delete all registered users from firebase console? For example, I created a hundred users from my development environment, and now I want to delete a

16条回答
  •  甜味超标
    2020-12-04 12:31

    French version,

    var intervalId;
    
    var clearFunction = function() {
      if ($('[aria-label="Supprimer le compte"]').size() == 0) {
        console.log("interval cleared")
        clearInterval(intervalId)
        return
      }
      $('[aria-label="Supprimer le compte"]')[0].click();
      setTimeout(function () {
         $(".md-raised:contains(Supprimer)").click()
      }, 1000);
    };
    
    intervalId = setInterval(clearFunction, 3000)
    

    PS: if you are not web developer and "Execute in tools developer" means nothing to you, here the procedure.

    • Open your firebase authentication/users page with Chrome
    • Press control + shif+ J
    • In the console tab, paste this code and press enter.

    • If the language matched with the code your paste, account will start to be deleted.

提交回复
热议问题