clear-roles-cache.asciidoc 943 B

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