Does the firebase admin sdk have a way of bulk editing users?
It has bulk methods for getUsers, deleteUsers and importUsers but no option for edit?
Edit: I've opened a github issue with google/firebase here
Does the firebase admin sdk have a way of bulk editing users?
It has bulk methods for getUsers, deleteUsers and importUsers but no option for edit?
Edit: I've opened a github issue with google/firebase here
As far as I know, Firebase Auth in Admin SDK doesn't have any other methods except updateUser
(docs) to update a single user. I'd suggest to retrive all users by UID, modify it, bulk delete all users by UID and then do import steps (import docs). Make sure to chunk your data by 1000 for every API call, because that's the API limit. Or, you can do looping updateUser
one by one instead.