Problem Statement
This article describes how to add multiple users to a role.
Solution
Adding users to a role requires Management API.
- Retrieve the list of user_ids by performing a search using GET Users endpoint. The q query parameter can be used to get users that match the specified criteria using query string syntax.
- Assign the users to a role by running the POST role users endpoint.