LoginSignup
4
5

More than 1 year has passed since last update.

Firebase Authenticationのユーザを一括削除する方法

Posted at

Firebase Authenticationのユーザを一括削除できないか試してみました。

Firebase Authenticationのユーザ一覧が表示されている場所で、chromeのコンソールに下記のjsを入力すると順次削除してくれます。

const interval = setInterval(() => {
  if ($('.edit-account-button').length === 0) {
    clearInterval(interval)
  } else {
    $('.edit-account-button').first().click()
    $('button:contains("アカウントを削除")').click()
    $('.confirm-button').click()
  }
}, 1000)
4
5
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
5