# Allow user bulk updates from Management APIS

**URL:** <https://community.auth0.com/t/allow-user-bulk-updates-from-management-apis/84141>\
**Category:** Product Feedback\
**Tags:** app\_metadata, user-profile, management-api, auth0\
**Created:** [May 26, 2022, 9:45pm UTC](https://community.auth0.com/t/allow-user-bulk-updates-from-management-apis/84141 "2022-05-26T21:45:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![chuck](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/chuck/32/12767_2.png) [@chuck](https://community.auth0.com/u/chuck)\
**Post date:** [May 26, 2022, 9:45pm UTC](https://community.auth0.com/t/allow-user-bulk-updates-from-management-apis/84141/1 "2022-05-26T21:45:28Z")

</div>

**Feature:** Allow user bulk updates from Management APIS

**Description:**  
As a Management API client, I can perform mass updates on multiple user IDs, e.g.

```auto
// user 1 metadata
{
   "locations": ["TX","CA","CO","IA"]
}
// user 2 metadata
{
   "locations": ["TX","WI","NY","NV"]
}

```

for: [user1,user2] do:

```auto
{
  "locations": {$pull: "TX"}
}

```

```auto
// user 1 metadata
{
   "locations": ["CA","CO","IA"]
}
// user 2 metadata
{
   "locations": ["WI","NY","NV"]
}

```

**Use-case:** As recently stated [here](https://community.auth0.com/t/perform-a-mass-update-on-users/71262) by another user, I also tried to mass update user metadata, where I store certain user roles and permissions. I did that by using the POST v2/users endpoint in the management API. unfortunately, after everything went great on my dev env, I noticed that with hundrets of users, the **rate limit** was hit:

```auto
{
  "statusCode": 429,
  "error": "Too Many Requests",
  "message": "Global per second users_write group limit has been reached",
  "errorCode": "too_many_requests"
}

```

This is a real bummer as we invested a lot into this feature and the integration with auth0, it would help us a lot if we could perform updates for a list of users performing a metadata change as described above.

---

<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:** [July 20, 2022, 1:21pm UTC](https://community.auth0.com/t/allow-user-bulk-updates-from-management-apis/84141/2 "2022-07-20T13:21:00Z")

</div>

Thank you for creating this feedback card!

I really hope it will get as many votes as possible so let’s see if there is interest in it coming from other community users! Thank you!

---

<div class="post-metadata">

**Author:** ![douglas](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/douglas/32/33985_2.png) [@douglas](https://community.auth0.com/u/douglas)\
**Post date:** [August 1, 2022, 2:51am UTC](https://community.auth0.com/t/allow-user-bulk-updates-from-management-apis/84141/3 "2022-08-01T02:51:45Z")

</div>

Is there a workaround for this until this feature is available?  
Do we just have to throttle our update requests?

---

<div class="post-metadata">

**Author:** ![douglas](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/douglas/32/33985_2.png) [@douglas](https://community.auth0.com/u/douglas)\
**Post date:** [August 1, 2022, 2:57am UTC](https://community.auth0.com/t/allow-user-bulk-updates-from-management-apis/84141/4 "2022-08-01T02:57:11Z")

</div>

Nvm, found the info in the docs

> **[Rate Limit Policy](https://auth0.com/docs/troubleshoot/customer-support/operational-policies/rate-limit-policy#api-endpoint-limits)**
>
> Describes Auth0's rate limit policy.

---

<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:** [August 1, 2022, 9:53am UTC](https://community.auth0.com/t/allow-user-bulk-updates-from-management-apis/84141/5 "2022-08-01T09:53:27Z")

</div>

No worries, glad you’ve found it!

---

<div class="post-metadata">

**Author:** ![Frits](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/frits/32/33434_2.png) [@Frits](https://community.auth0.com/u/Frits)\
**Post date:** [November 8, 2022, 10:51am UTC](https://community.auth0.com/t/allow-user-bulk-updates-from-management-apis/84141/6 "2022-11-08T10:51:14Z")

</div>

For my company this will be a much appreciated feature. Our platform hosts subscriptions with many users linked to them. For some use cases we want to modify multiple users at once.

It’s very cumbersome to call the management API for each user separately minding the API rate limits.

---

<div class="post-metadata">

**Author:** ![aguevara](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/aguevara/32/41594_2.png) [@aguevara](https://community.auth0.com/u/aguevara)\
**Post date:** [November 29, 2022, 9:21pm UTC](https://community.auth0.com/t/allow-user-bulk-updates-from-management-apis/84141/7 "2022-11-29T21:21:35Z")

</div>

I voted because our company is looking for the same feature to GET /users and GET /enrollments. And we need to do it bulk. We have around 200K users and due the API limits it’s quite hard to obtain that information.

---

<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:** [November 30, 2022, 10:40am UTC](https://community.auth0.com/t/allow-user-bulk-updates-from-management-apis/84141/8 "2022-11-30T10:40:48Z")

</div>

Thank you for providing the context everyone! In a few days but in general on a monthly basis we analyze the Feedback category with our Product teams and qualifying them for further development. Will let you know as soon as I have any good news!

---

<div class="post-metadata">

**Author:** ![safaridan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/safaridan/32/12778_2.png) [@safaridan](https://community.auth0.com/u/safaridan)\
**Post date:** [March 1, 2024, 5:30pm UTC](https://community.auth0.com/t/allow-user-bulk-updates-from-management-apis/84141/9 "2024-03-01T17:30:34Z")

</div>

Another related use case we hit often with rate limiting is in our test environments. We frequently delete/create test companies for API tests integration and automated web UI/UX tests which require workarounds specifically for non-production environments due to heavy rate limiting. Being able to bulk create/update users and their roles would greatly help the reliability of the tests without environment specific workarounds.

---

<div class="post-metadata">

**Author:** ![ale.vesga1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ale.vesga1/32/60921_2.png) [@ale.vesga1](https://community.auth0.com/u/ale.vesga1)\
**Post date:** [November 19, 2024, 6:36pm UTC](https://community.auth0.com/t/allow-user-bulk-updates-from-management-apis/84141/13 "2024-11-19T18:36:55Z")

</div>


