code: @Override
      public void deleteItems(Request request,
                              String repositoryName,
                              String workspaceName,
                              String requestContent) throws RepositoryException {
          ArrayNode requestArray = stringToJSONArray(requestContent);
          if (requestArray.size() == 0) {
              return;
          }
  
          Session session = getSession(request, repositoryName, workspaceName);
          TreeSet<String> pathsInOrder = new TreeSet<>();
          for (int i = 0; i < requestArray.size(); i++) {
              pathsInOrder.add(absPath(requestArray.get(i).toString()));
          }
          List<String> pathsInOrderList = new ArrayList<>(pathsInOrder);
          Collections.reverse(pathsInOrderList);
          for (String path : pathsInOrderList) {
              doDelete(path, session);
          }
          session.save();
      }
docs: Performs a bulk deletion of items, using a single {@link javax.jcr.Session}. If any of the items cannot be deleted for whatever
  reason, the entire operation fails.
  
  @param request        the servlet request; may not be null or unauthenticated
  @param repositoryName the URL-encoded repository name
  @param workspaceName  the URL-encoded workspace name
  @param requestContent the JSON-encoded array of the nodes to remove
  @return a {@code non-null} {@link Result}
  @throws javax.jcr.RepositoryException if any of the JCR operations fail
  @see RestItemHandlerImpl#deleteItem(Request, String, String, String)