Files
elasticsearch-js/docs/reference-security-clear_cached_service_tokens.asciidoc

78 lines
4.2 KiB
Plaintext

[[reference-security-clear_cached_service_tokens]]
////////
===========================================================================================================================
|| ||
|| ||
|| ||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|| ||
|| ||
|| 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 <version> ||
|| ||
|| ||
|| ||
===========================================================================================================================
////////
[discrete]
[[client.security.clearCachedServiceTokens]]
=== client.security.clearCachedServiceTokens
Clear service account token caches. Evict a subset of all entries from the service account token caches.
{ref}/security-api-clear-service-token-caches.html[{es} documentation]
[discrete]
==== Function signature
[source,ts]
----
(SecurityClearCachedServiceTokensRequest, options?): Promise<SecurityClearCachedServiceTokensResponse>
----
[discrete]
==== SecurityClearCachedServiceTokensRequest
[pass]
++++
<pre>
++++
interface SecurityClearCachedServiceTokensRequest extends <<RequestBase>> {
namespace: <<Namespace>>
service: <<Service>>
name: <<Names>>
}
[pass]
++++
</pre>
++++
[discrete]
==== SecurityClearCachedServiceTokensResponse
[pass]
++++
<pre>
++++
interface SecurityClearCachedServiceTokensResponse {
_nodes: <<NodeStatistics>>
cluster_name: <<Name>>
nodes: Record<string, <<SecurityClusterNode>>>
}
[pass]
++++
</pre>
++++