Clear the roles cache
POST
/_security/role/{name} /_clear_cache
Auth
Evict roles from the native role cache.
Cluster privileges
manage_security
Expand all
name
union string | string []
required
A comma-separated list of roles to evict from the role cache.
To evict all roles, use an asterisk (*).
It does not support other wildcard patterns.
200
application/json
_nodes
object
required
−
Hide 4 properties
failures
object []
+
Show 6 properties
type
string
required
The type of error
reason
union string
nullable
A human-readable explanation of the error, in English.
One of:
string
stack_trace
string
The server stack trace. Present only if the error_trace=true parameter was sent with the request.
caused_by
object
Same fields as
failures
in
_nodes
root_cause
object []
Same fields as
failures
in
_nodes
suppressed
object []
Same fields as
failures
in
_nodes
total
number
required
Total number of nodes selected by the request.
successful
number
required
Number of nodes that responded successfully to the request.
failed
number
required
Number of nodes that rejected the request or failed to respond. If this value is not 0, a reason for the rejection or failure is included in the response.
cluster_name
string
required
nodes
map string to object
required
<string>
object
−
Hide 1 property
Thank you for your feedback.