I have a database with a few hundred thousand users. How do i assign roles to them all?
Doing it one by one, i will hit rate limits and adding a wait to get around that limit does not seem like a great idea.
I have a database with a few hundred thousand users. How do i assign roles to them all?
Doing it one by one, i will hit rate limits and adding a wait to get around that limit does not seem like a great idea.
Hey there @carl.t , wanted to get back to you on this one!
A couple of thoughts here:
I recommend doing this in off hours for the region your tenant is located in.
Stay under Management API rate limits
Mind 429
error codes.
The /api/v2/roles/{id}/users
endpoint does take an array of users for which there is no hard limit as far as I can tell - We definitely recommend a conservative approach however.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.