@DELETE
  public Response deleteNoBody(final byte[] message, final @Context UriInfo uriInfo,
    final @Context HttpHeaders headers) {
    if (LOG.isTraceEnabled()) {
      LOG.trace("DELETE " + uriInfo.getAbsolutePath());
    }
    if (servlet.isReadOnly()) {
      servlet.getMetrics().incrementFailedDeleteRequests(1);
      return Response.status(Response.Status.FORBIDDEN).type(MIMETYPE_TEXT)
        .entity("Forbidden" + CRLF).build();
    }

    try {
      Admin admin = servlet.getAdmin();
      if (!doesNamespaceExist(admin, namespace)) {
        return Response.status(Response.Status.NOT_FOUND).type(MIMETYPE_TEXT)
          .entity("Namespace '" + namespace + "' does not exists.  Cannot " + "drop namespace.")
          .build();
      }

      admin.deleteNamespace(namespace);
      servlet.getMetrics().incrementSucessfulDeleteRequests(1);
      return Response.ok().build();

    } catch (IOException e) {
      servlet.getMetrics().incrementFailedDeleteRequests(1);
      return processException(e);
    }
  }
Build a response for DELETE delete namespace.
@param message value not used.
@param headers value not used.
@return response code.
hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/NamespacesInstanceResource.java