code: function remove(req, res, next) {
    var params = {
      appId: req.params.id
    };
  
    forms.deleteAppReferences(req.connectionOptions, params, formsResultHandlers(constants.resultTypes.formProjects, req, next));
  }
docs: Removing A Forms Project. This is mainly done when projects are deleted.
  
  Cleans up references to the project in the database. AppThemes/AppForms/AppConfig etc.
  @param req
  @param res
  @param next