get https://customer.my.onetrust.com/api/consent/v2/consent-groups
Use this API to retrieve a list of all Consent Groups along with details such as the Consent Group ID, associated Purpose Rules, and the list of data subjects and/or Consent Groups within its hierarchal structure.