从Firebase身份验证控制台中删除所有用户 [英] Delete all users from firebase auth console
问题描述
例如,我从我的开发环境中创建了一百个用户,现在我想删除它们中的所有这些用户。
<
$ b
更新2016-11-08 下面的原始答案
我们刚刚发布了支持管理的 Firebase Admin SDK 使用案例,例如删除用户帐户,而不要求用户签署在第一个。
原始答案
目前没有Firebase身份验证中的API可以删除用户,而无需用户登录。我们知道这限制了我们API的可用性,并且正在努力在将来的版本中添加此类功能。但像往常一样,我们没有提供具体功能的时间表。
目前您唯一的解决方法是:
- 以应用程序中的每个测试用户身份登录,并从该处删除用户
- 从Firebase中依次删除每个用户Console
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 all of them.
firebaser here
Update 2016-11-08 original answer below
We just released the Firebase Admin SDK, which supports administrative use-cases, such as deleting a user account without requiring that user to sign in first.
original answer
There is currently no API in Firebase Authentication to delete a user without requiring that user to sign in. We know this limits the usability of our API and are working to add such functionality in a future release. But as usual, we don't provide specific timelines for when the feature will be available.
For the moment your only work arounds are to:
- sign in as each test user in the app and delete the user from there
- delete each user in turn from the Firebase Console
这篇关于从Firebase身份验证控制台中删除所有用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!