[[reference-security-clear_cached_privileges]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || This file is autogenerated, DO NOT send pull requests that changes this file directly. || || You should update the script that does the generation, which can be found in: || || https://github.com/elastic/elastic-client-generator-js || || || || You can run the script with the following command: || || npm run elasticsearch -- --version || || || || || || || =========================================================================================================================== //////// [discrete] === client.security.clearCachedPrivileges Clear the privileges cache. Evict privileges from the native application privilege cache. The cache is also automatically cleared for applications that have their privileges updated. {ref}/security-api-clear-privilege-cache.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (SecurityClearCachedPrivilegesRequest, options?): Promise ---- [discrete] ==== SecurityClearCachedPrivilegesRequest [pass] ++++
++++
interface SecurityClearCachedPrivilegesRequest extends <> {
  application: <>
}

[pass]
++++
++++ [discrete] ==== SecurityClearCachedPrivilegesResponse [pass] ++++
++++
interface SecurityClearCachedPrivilegesResponse {
  _nodes: <>
  cluster_name: <>
  nodes: Record
}

[pass]
++++
++++