code: @Override
      public void deleteNodeWithId(Request request,
                                   String rawRepositoryName,
                                   String rawWorkspaceName,
                                   String id) throws RepositoryException {
  
          assert rawRepositoryName != null;
          assert rawWorkspaceName != null;
          assert id != null;
  
          Session session = getSession(request, rawRepositoryName, rawWorkspaceName);
          Node node = nodeWithId(id, session);
          node.remove();
          session.save();
      }
docs: Deletes the subgraph at the node with the specified id, including all descendants.
  
  @param request           the servlet request; may not be null or unauthenticated
  @param rawRepositoryName the URL-encoded repository name
  @param rawWorkspaceName  the URL-encoded workspace name
  @param id                the node identifier
  @throws javax.jcr.RepositoryException if any other error occurs