Clear the roles cache
- POST /_security/role/{name}/_clear_cache
Path Parameters
-
nameName | Namerequired -
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.
Response
application/json
-
_nodesNodeStatisticsrequired -
failuresErrorCause -
typestringrequired -
The type of error
-
reasonstringnullable -
A human-readable explanation of the error, in English.
-
stack_tracestring -
The server stack trace. Present only if the
error_trace=trueparameter was sent with the request. -
caused_byErrorCause -
root_causeErrorCause -
suppressedErrorCause -
totalnumberrequired -
Total number of nodes selected by the request.
-
successfulnumberrequired -
Number of nodes that responded successfully to the request.
-
failednumberrequired -
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_namestring Namerequired