code: private void delete(String key, Map<String, String> params) {
  
  
          final URI uri = createURI("/" + key);
          final HttpRequestBuilder httpRequestBuilder = RequestUtils
                  .getHttpRequestBuilder(null, null, RequestOptions.BLANK, "");
  
  
          final Set<Map.Entry<String, String>> entries = params.entrySet();
          for (Map.Entry<String, String> entry : entries) {
              httpRequestBuilder.addParam(entry.getKey(), entry.getValue());
          }
  
          httpRequestBuilder.setMethodDelete();
          final HTTP.Response httpResponse = HTTP.deleteResponse(uri.toString() + "?" + httpRequestBuilder.paramString());
  
          if (httpResponse.code() != 200) {
              die("Unable to delete key", uri, key, httpResponse.code(), httpResponse.body());
          }
      }
docs: Deletes a specified key.
  
  @param key    The key to delete.
  @param params Map of parameters, e.g. recurse.