def delete(path, body = nil, params = {}, headers = {})
      request_headers = request_headers(headers)
      request_options = {
          header: request_headers,
          body: encode_body(body, request_headers['Content-Type']),
          query: params
      }
      response = http_client.delete(request_uri(path), request_options)
      if response.status == 200
        parse_response(response)
      else
        handle_error_response(response)
      end
    end
def delete(path, body = nil, params = {}, headers = {})
      request_headers = request_headers(headers)
      request_options = {
          header: request_headers,
          body: encode_body(body, request_headers['Content-Type']),
          query: params
      }
      response = http_client.delete(request_uri(path), request_options)
      if response.status == 200
        parse_response(response)
      else
        handle_error_response(response)
      end
    end
Delete request

 @param [String] path
 @param [Hash,String] body
 @param [Hash] params
 @param [Hash] headers
 @return [Hash]