# Update userIds in bulk

**URL:** <https://community.auth0.com/t/update-userids-in-bulk/75822>\
**Category:** Get Help\
**Created:** [January 4, 2022, 9:55pm UTC](https://community.auth0.com/t/update-userids-in-bulk/75822 "2022-01-04T21:55:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tkmogel](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tkmogel/32/34167_2.png) [@tkmogel](https://community.auth0.com/u/tkmogel)\
**Post date:** [January 4, 2022, 9:55pm UTC](https://community.auth0.com/t/update-userids-in-bulk/75822/1 "2022-01-04T21:55:22Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [January 4, 2022, 11:55pm UTC](https://community.auth0.com/t/update-userids-in-bulk/75822/3 "2022-01-04T23:55:53Z")

</div>

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](https://auth0.com/docs/api/management/v2#!/Users/patch_users_by_id) to update those individuals’ user ID’s.

Alternatively, you could use a [Rule](https://auth0.com/docs/rules) or [Action](https://auth0.com/docs/actions/triggers/post-login) 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.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [January 19, 2022, 11:56pm UTC](https://community.auth0.com/t/update-userids-in-bulk/75822/4 "2022-01-19T23:56:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![lihua.zhang](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lihua.zhang/32/39683_2.png) [@lihua.zhang](https://community.auth0.com/u/lihua.zhang)\
**Post date:** [June 23, 2022, 6:19am UTC](https://community.auth0.com/t/update-userids-in-bulk/75822/5 "2022-06-23T06:19:46Z")

</div>

We have created a FAQ related to this topic. Please check it out: [How to Bulk Update User Profile Details in the Management API?](https://community.auth0.com/t/how-to-bulk-update-user-profile-details-in-the-management-api/81198)
