code: public void deleteChildren(ParaObject obj, String type2) {
  		if (obj == null || obj.getId() == null || type2 == null) {
  			return;
  		}
  		MultivaluedMap<String, String> params = new MultivaluedHashMap<>();
  		params.putSingle("childrenonly", "true");
  		String url = Utils.formatMessage("{0}/links/{1}", obj.getObjectURI(), type2);
  		invokeDelete(url, params);
  	}
docs: Deletes all child objects permanently.
  @param obj the object to execute this method on
  @param type2 the children's type.