Get List of Data Subject Groups
Use this API to retrieve a list of all Data Subject Groups. The response will include the Data Subject Group ID, number of data subjects, and details of the primary data subjects in the group.
Query parameters
Include organization information for Data Subject Groups
Results page you want to retrieve (0..N).
Number of records per page.
Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
Headers
In order to retrieve a list of Linked Identity Groups whose primary identifier is equal to the primaryDataSubjectIdentifier header value
In order to retrieve a list of Linked Identity Groups whose primary identifier type is equal to the primaryDataSubjectIdentifierType header value
Token for pagination
Response
OK - Successfully retrieved Data Subject Groups.
Example response
{
"content": [
{
"id": "b0a6b5da-4ea2-4a9f-a25a-fb3e212efc30",
"numberOfDataSubjects": 6,
"createdDate": "2020-05-30T10:52:30.974Z",
"lastModifiedDate": "2020-05-30T12:23:42.145Z",
"primaryDataSubjects": [
{
"id": "c43a9190-ffd6-4be3-aeff-95b46d0fa59f",
"identifier": "example@otprivacy.com",
"identifierType": "Email"
}
],
"organizations": [
"550e8400-e29b-41d4-a716-446655440000",
"6ba7b810-9dad-11d1-80b4-00c04fd430c8"
],
"primaryDataSubjectId": "c43a9190-ffd6-4be3-aeff-95b46d0fa59f",
"primaryDataSubjectIdentifier": "example@otprivacy.com",
"primaryDataSubjectIdentifierType": "Email",
"groupName": "Customer Group A"
}
],
"first": true,
"numberOfElements": 20,
"totalPages": 5,
"totalElements": 50,
"size": 20
}