Delete all users from firebase auth console

后端 未结 16 1718
臣服心动
臣服心动 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:43

    setInterval(() => {
      if ($('[aria-label="Delete account"]').length > 0) {
        $('[aria-label="Delete account"]').first().click()
        setTimeout(()=>{
          $(".md-raised:contains(Delete)").click()
        }, 100)
      } else {
        $('[aria-label="Reload"]').first().click()
      }
    }, 2000);
    

    Try this one. It's an update to @www.eugenehp.tk answer above that takes into account the need to refresh the page if you have more than one page of entries.

提交回复
热议问题