post https://customer.my.onetrust.com/api/access/v1/user-groups//members
Use this API to add members to a user group based on the userGroupId
value provided in the API request.
Additional Information
- When a user is added to a user group that has additional roles that the user may not currently have, the user will inherit the roles associated with that user group in addition to their existing roles and permissions.
- Current user group membership can be obtained using the Retrieve User Group Members API.
userId
of the members to be added to the user group can be specified in the request body in a comma separated list.userId
can be retireved using the Retrieve list of Users API.
Example Request
POST https://{hostname}/api/access/v1/user-groups/{userGroupId}/members
POST https://trial.onetrust.com/api/access/v1/user-groups/ed066d73-1e24-49de-8ecd-b55b9b440ebe/members