Use the userGroups resource along with the users and roles resources to manage user privileges. Users and groups can perform tasks and access assets based on the roles that you assign to them.
You can send the following requests:
To get details about all of the user groups or a particular user group, send a GET request.
To create a user group, use a POST request.
To add roles or users to a user group, use a PUT request.
To delete a user group, use a DELETE request.
For information about using the users and roles REST API resources, see the following topics:
For general information about users, user groups, and roles, see the Administrator help.
The number of users, user groups, and roles combined cannot exceed 1000 for an organization.