Search + K

Command Palette

Search for a command to run...

Sign In

Clear the privileges cache

POST /_security/privilege/{application}/_clear_cache
Copy endpoint

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 (*). It does not support other wildcard patterns.

type TypesNames = type TypesName = string | type TypesName = string[]

Responses

200 application/json
{ _nodes: TypesNodeStatistics

Contains statistics about the number of nodes selected by the request.

interface TypesNodeStatistics {
failures?: TypesErrorCause[];
total: number;
successful: number;
failed: number;
}
;cluster_name: TypesName
type TypesName = string
;nodes: { }; }