code: @RequirePOST
      public HttpResponse doSnooze() throws IOException {
          Jenkins.getInstance().checkPermission(Jenkins.ADMINISTER);
          File f = SetupWizard.getUpdateStateFile();
          FileUtils.touch(f);
          f.setLastModified(System.currentTimeMillis() + TimeUnit.DAYS.toMillis(1));
          LOGGER.log(FINE, "Snoozed the upgrade wizard notice");
          return HttpResponses.redirectToContextRoot();
      }
docs: Snooze the upgrade wizard notice.