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.
Required authorization
- Cluster privileges:
manage_security
Parameters
path Path Parameters
| Name | Type |
|---|---|
application
required
A comma-separated list of applications.
To clear all applications, use an asterism ( | type TypesNames = type TypesName = string | type TypesName = string[] |
Responses
200 application/json
{ _nodes: TypesNodeStatistics ;cluster_name: TypesName ;nodes: { }; }