code: @PreAuthorize(SpringEvalExpressions.HAS_AUTH_SYSTEM_ADMIN)
      @Override
      public ResponseEntity<Collection<String>> invalidateCaches() {
          final Collection<String> cacheNames = cacheManager.getCacheNames();
          LOGGER.info("Invalidating caches {}", cacheNames);
          cacheNames.forEach(cacheName -> cacheManager.getCache(cacheName).clear());
          return ResponseEntity.ok(cacheNames);
      }
docs: Invalidates all caches for all tenants.
  
  @return a list of cache names which has been invalidated