How to Bulk Add Roles to Users

Overview

This article describes how to add multiple users to a role.

Applies To

  • Management API

Solution

Adding users to a role requires Management API. 
  1. 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.
  2. Assign the users to a role by running the POST role users endpoint.

Recommended content

No recommended content found...