delete https://customer.my.onetrust.com/api/access/v1/user-groups//members
Use this API to remove members from a specified user group using userGroupId
value.
Additional Information
userId
of the members to be removed from 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.- Current user group membership can be obtained using the Retrieve User Group Members API.
Example Request
DELETE https://{hostname}/api/access/v1/user-groups/{userGroupID}/members
DELETE https://trial.onetrust.com/api/access/v1/user-groups/ed066d73-1e24-49de-8ecd-b55b9b440ebe/members