@Override
  public void deleteNodeInTemplate(String templateName, String path)
      throws IOException, IoTDBConnectionException, StatementExecutionException {
    TSPruneSchemaTemplateReq req = new TSPruneSchemaTemplateReq();
    req.setName(templateName);
    req.setPath(path);
    defaultSessionConnection.pruneSchemaTemplate(req);
  }
@param templateName Template to prune.
@param path Remove node from template specified by the path, including its children nodes.
iotdb-client/session/src/main/java/org/apache/iotdb/session/Session.java