code: protected void executeDeleteRequest(URI uri, Map<String, Object> headers, 
          List<String> queryParams)
      {
          WebTarget target = this.client.target(uri);
          target = applyQueryParams(target, queryParams);
          Invocation.Builder invocation = target.request(MediaType.APPLICATION_JSON);
          applyHeaders(invocation, headers);
          Response response = invocation.delete();
          handleResponseError("DELETE", uri, response);
          logResponse(uri, response);
      }
docs: Execute a DELETE request.
  @param uri The URI to call
  @param headers A set of headers to add to the request
  @param queryParams A set of query parameters to add to the request