# Perform a mass update on users

**URL:** <https://community.auth0.com/t/perform-a-mass-update-on-users/71262>\
**Category:** Get Help\
**Tags:** update, event, user\_metadata\
**Created:** [October 13, 2021, 6:43pm UTC](https://community.auth0.com/t/perform-a-mass-update-on-users/71262 "2021-10-13T18:43:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![cfernandez](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cfernandez/32/26517_2.png) [@cfernandez](https://community.auth0.com/u/cfernandez)\
**Post date:** [October 13, 2021, 6:43pm UTC](https://community.auth0.com/t/perform-a-mass-update-on-users/71262/1 "2021-10-13T18:43:28Z")

</div>

Within the metadata of each user, I store some information that is the same for certain groups of users. When I update this in my API, I want to be able to send the emails or user ids of the related users and the information being updated to Auth0 so that it can be updated. Is there a way to do this at any time? From what I’ve researched, there isn’t any method in the Auth0 framework that I can use straight from my API, so I am wondering if there is a way to send an event to Auth0 which can be picked up by a hook but the hooks seem to be tied to certain events like password change or registering. The only other suggestion I saw is using rules, but I’d rather avoid waiting until the user logs in to update their metadata.

---

<div class="post-metadata">

**Author:** ![marcus.baker](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcus.baker/32/8586_2.png) [@marcus.baker](https://community.auth0.com/u/marcus.baker)\
**Post date:** [October 13, 2021, 7:43pm UTC](https://community.auth0.com/t/perform-a-mass-update-on-users/71262/2 "2021-10-13T19:43:13Z")

</div>

Hi!

For updating user metadata from your API backend you would want to utilize the management API.

[https://auth0.com/docs/users/metadata/manage-metadata-api](https://auth0.com/docs/users/metadata/manage-metadata-api)

Hope this helps!

---

<div class="post-metadata">

**Author:** ![cfernandez](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/cfernandez/32/26517_2.png) [@cfernandez](https://community.auth0.com/u/cfernandez)\
**Post date:** [October 13, 2021, 7:58pm UTC](https://community.auth0.com/t/perform-a-mass-update-on-users/71262/3 "2021-10-13T19:58:12Z")

</div>

I have seen this, however I wanted to know if there is a good way to bulk edit. It the group of users I need to update contains hundreds or even thousands of users, it would take a long time to go one by one

---

<div class="post-metadata">

**Author:** ![marcus.baker](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marcus.baker/32/8586_2.png) [@marcus.baker](https://community.auth0.com/u/marcus.baker)\
**Post date:** [October 14, 2021, 2:30am UTC](https://community.auth0.com/t/perform-a-mass-update-on-users/71262/4 "2021-10-14T02:30:24Z")

</div>

we do not have a bulk edit feature.

The management API would be the way to update metadata from a backend, however, a large batch of update requests could have a negative impact on your tenant. Not ideal.

You could potentially do this through an action or a rule, updating users as they log in, but this may not be the right solution for you, depending on your requirements.

Auth0 Actions

> **[Auth0 Actions](https://auth0.com/docs/customize/actions)**
>
> Describes Auth0 Actions, which are secure, tenant-specific, self-contained functions that allow you to customize the behavior of Auth0.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 14, 2021, 9:11am UTC](https://community.auth0.com/t/perform-a-mass-update-on-users/71262/5 "2021-10-14T09:11:19Z")

</div>

Thanks for helping on this one Marcus!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 28, 2021, 12:03pm UTC](https://community.auth0.com/t/perform-a-mass-update-on-users/71262/6 "2021-10-28T12:03:29Z")

</div>


