Retrieves all data groups

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Retrieves all data groups for the customer.

Request URL

https://{server-hostname}:8383/endpointdlp/api/data-classification/data-group/data-groups

Scope

EndpointDLP.READCopied!

Header

Authorization: d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

AcceptstringMandatory
application/dataGroups.v1+jsonapplication/dataGroups.v1+jsonCopied!

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomain/endpointdlp/api/data-classification/data-group/data-groups \
  --header 'Accept: application/dataGroups.v1+json' \
  --header 'Authorization:  d92d4xxxxxxxxxxxxx15f52'
Show full

Response Parameters

- HTTP code 200

Response Body - application/json
JSON object
Hide Sub-Attributes
dataGroupsJSON array

List of data groups

Show Sub-Attributes
JSON object
Show Sub-Attributes
dataGroupIdstring

Unique identifier of the data group

dataGroupNamestring

Name of the data group

- HTTP code 500

Response Body - application/json
JSON object
Hide Sub-Attributes
errorCodestring

Internal error code returned when fetching all data groups fails

errorMessagestring

Failure message describing why data groups could not be retrieved

Possible Response Codes

200HTTP code
500HTTP code

Sample Response: HTTP 200

Successful retrieval of data groups

Copied!
  {
    "dataGroups": [
      {
        "dataGroupId": "1",
        "dataGroupName": "1and2"
      }
    ]
  }
                
Show full

Sample Response: HTTP 500

Internal server error

Copied!
  {
    "errorMessage": "Exception occurred while fetching DataGroups :: <exception message>",
    "errorCode": "INTERNAL_ERROR"
  }
                
Show full

Duration: 1 minute | Threshold: 30 | Lock period: 5 minutes

Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.