Update userIds in bulk

Is there a way to update userIds in bulk? Some logins from an older system are using GUIDs and we would like to switch to using user’s emails as the primary login, but need to update the older logins to use email as well.

Hi @tkmogel,

Welcome to the Auth0 Community!

Unfortunately, there is currently is no way to bulk update users. In this case, you could use the Auth0 Management API Update a user endpoint to update those individuals’ user ID’s.

Alternatively, you could use a Rule or Action to update the user’s user_id post-authentication. This way, you can trickle the updates as the user logs into your app.

Please let me know if you have any questions.

Thank you.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.

We have created a FAQ related to this topic. Please check it out: How to Bulk Update User Profile Details in the Management API?