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.
// user 1 metadata
{
"locations": ["TX","CA","CO","IA"]
}
// user 2 metadata
{
"locations": ["TX","WI","NY","NV"]
}
for: [user1,user2] do:
{
"locations": {$pull: "TX"}
}
// user 1 metadata
{
"locations": ["CA","CO","IA"]
}
// user 2 metadata
{
"locations": ["WI","NY","NV"]
}
Use-case: As recently stated here 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:
{
"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.