2018-11-06 15:12:24 -05:00
|
|
|
|
|
|
|
--
|
|
|
|
:api: clear-realm-cache
|
|
|
|
:request: ClearRealmCacheRequest
|
|
|
|
:response: ClearRealmCacheResponse
|
|
|
|
--
|
2019-09-11 16:19:13 -04:00
|
|
|
[role="xpack"]
|
2018-11-06 15:12:24 -05:00
|
|
|
[id="{upid}-{api}"]
|
|
|
|
=== Clear Realm Cache API
|
|
|
|
|
|
|
|
[id="{upid}-{api}-request"]
|
|
|
|
==== Clear Realm Cache Request
|
|
|
|
|
|
|
|
A +{request}+ supports defining the name of realms and usernames that the cache should be cleared
|
|
|
|
for.
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-request]
|
|
|
|
--------------------------------------------------
|
|
|
|
|
|
|
|
include::../execution.asciidoc[]
|
|
|
|
|
|
|
|
[id="{upid}-{api}-response"]
|
|
|
|
==== Clear Roles Cache Response
|
|
|
|
|
|
|
|
The returned +{response}+ allows to retrieve information about where the cache was cleared.
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-response]
|
|
|
|
--------------------------------------------------
|
|
|
|
<1> the list of nodes that the cache was cleared on
|