void validateDeleteGroup(String groupId) throws ApiException {
        Group group = group(groupId);
        group.validateDeleteGroup();
    }
Validates the DeleteGroups request.

@param groupId The id of the group to be deleted.
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupMetadataManager.java