Deletes an existing data group by its unique identifier. The data group must not be the sole data group associated with any policy.
https://{serverurl}/endpointdlp/api/data-classification/data-group/data-group-details/{dataGroupId}
Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52
Unique identifier of the data group. Fetch from Get All Data Groups
curl --request DELETE \
--url https://appdomains/endpointdlp/api/data-classification/data-group/data-group-details/{dataGroupId} \
--header 'Accept: application/json' \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52'Validation error code returned when the data group is still associated with one or more policies and therefore cannot be deleted
Reason the data group cannot be deleted (e.g., associated with policies)
Unauthorized error code: credentials missing, expired, or invalid
Authentication failure reason
Internal error code returned when deleting a data group fails
Failure message describing why the data group could not be deleted
200 OKData group is associated with policies
{
"errorMessage": "Cannot delete data group. It is associated with policies",
"errorCode": "INTERNAL_ERROR"
}
User unauthorized
{
"errorMessage": "User does not have access to delete this data group",
"errorCode": "UAC_UNAUTHORIZED"
}
Internal server error
{
"errorMessage": "Exception occurred while deleting DataGroup",
"errorCode": "INTERNAL_ERROR"
}
![]()
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.
© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.