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}

PATCH https://trial.onetrust.com/api/scim/v2/Groups/444fd8af-e1ee-4742-b1af-94165a8c28c6:9c41e0f1-d596-4c5e-a620-1221533581bf

Language
Authorization
OAuth2