clear-realm-cache.asciidoc 972 B

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