Clear the privileges cache
- POST /_security/privilege/{application}/_clear_cache
Evict privileges from the native application privilege cache. The cache is also automatically cleared for applications that have their privileges updated.
- Cluster privileges:
manage_security
Path Parameters
-
applicationstring Namerequired -
A comma-separated list of applications. To clear all applications, use an asterism (
*). 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