When calling the endpoint for Assigning Users to a Role (Auth0 Management API v2), is there any limit to the number of users we can assign in a single API call? I am designing an API that may have to assign several hundred users to a roll at a given time and want to make sure that I don’t get unexpected errors if the user count gets too big.
Unfortunately, it looks like you can only assign a role to 100 users at a time (I just tried assigning 500 users):
"Payload validation error: 'Array is too long (500), maximum 100' on property users (user_id's of the users to assign the role to).",
Thank you for the quick response! I imagine we will need to split this into chunks of 100 when we process it