docs: @Deprecated
      public void changeApiToken() throws IOException {
          // just to keep the same level of security
          user.checkPermission(Jenkins.ADMINISTER);
  
          LOGGER.log(Level.FINE, "Deprecated usage of changeApiToken");
  
          ApiTokenStore.HashedToken existingLegacyToken = tokenStore.getLegacyToken();
          _changeApiToken();
          tokenStore.regenerateTokenFromLegacy(apiToken);
      
          if(existingLegacyToken != null){
              tokenStats.removeId(existingLegacyToken.getUuid());
          }
          user.save();
      }