How to Bulk Add Role to Multiple Users

Problem Statement

How to bulk update roles to many users

Solution

Send a POST request to the /api/v2/roles/{id}/users endpoint. {id} is the Role ID. In the body script, we need to add an array of user IDs, like this:

{
  "users": [
    "auth0|123456"
  ]
}