Modify Group Members

Use this API to update the group membership using either the add, remove or replace operations. Depending on the operation and the request body that contains the list of users, members are either added, removed or replaced from the group.

Additional Information

  • When a user is added to the group, that user is assigned to the role and organization that comprises the group.
  • Supported Patch operations are Add, Remove, and Replace. This operation is identified by the op attribute in the request body.
  • Users that are added to a new group will continue to retain membership of any groups that they are already a part of. This is because users in OneTrust can be assigned multiple roles and multiple organizations.

Example Request

PATCH https://{hostname}/api/scim/v2/Groups/{groupId}