@QueryParam(DoAsParam.NAME) @DefaultValue(DoAsParam.DEFAULT) DoAsParam doAs)
throws IOException, HadoopException {
path.makeAbsolute();
MDC.put("op", "DELETE");
AUDIT_LOG.info("[{}] recursive [{}]", path, recursive);
FSDelete command = new FSDelete(path.value(), recursive.value());
JSONObject json = fsExecute(user, doAs.value(), command);
return Response.ok(json).type(MediaType.APPLICATION_JSON).build();
}