code: public <T> EntityResponse<List<T>> deleteWithListResult(Class<T> entityClass, String path, Map<String, String> headers) throws IOException, RESTException {
          return parseListEntityResponse(entityClass, getHttpResponse(new HttpDelete(baseUrl + path), headers));
      }
docs: Performs DELETE request, while expected response entity is a list of specified type.
  
  @param entityClass Class, which contains expected response entity fields.
  @param path        Request path.
  @param headers     Map of HTTP request headers.
  @param <T>         Type of class, which contains expected response entity fields.
  @throws IOException   If error during HTTP connection or entity parsing occurs.
  @throws RESTException If HTTP response code is non OK.