clear-roles-cache.asciidoc 957 B

1234567891011121314151617181920212223242526272829303132
  1. --
  2. :api: clear-roles-cache
  3. :request: ClearRolesCacheRequest
  4. :response: ClearRolesCacheResponse
  5. --
  6. [role="xpack"]
  7. [id="{upid}-{api}"]
  8. === Clear Roles Cache API
  9. [id="{upid}-{api}-request"]
  10. ==== Clear Roles Cache Request
  11. A +{request}+ supports defining the name of roles that the cache should be cleared 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