clear-realm-cache.asciidoc 958 B

123456789101112131415161718192021222324252627282930313233
  1. --
  2. :api: clear-realm-cache
  3. :request: ClearRealmCacheRequest
  4. :response: ClearRealmCacheResponse
  5. --
  6. [id="{upid}-{api}"]
  7. === Clear Realm Cache API
  8. [id="{upid}-{api}-request"]
  9. ==== Clear Realm Cache Request
  10. A +{request}+ supports defining the name of realms and usernames that the cache should be cleared
  11. for.
  12. ["source","java",subs="attributes,callouts,macros"]
  13. --------------------------------------------------
  14. include-tagged::{doc-tests-file}[{api}-request]
  15. --------------------------------------------------
  16. include::../execution.asciidoc[]
  17. [id="{upid}-{api}-response"]
  18. ==== Clear Roles Cache Response
  19. The returned +{response}+ allows to retrieve information about where the cache was cleared.
  20. ["source","java",subs="attributes,callouts,macros"]
  21. --------------------------------------------------
  22. include-tagged::{doc-tests-file}[{api}-response]
  23. --------------------------------------------------
  24. <1> the list of nodes that the cache was cleared on