Clear the API key cache
POST
/_security/api_key/{ids}/_clear_cache Evict a subset of all entries from the API key cache. The cache is also automatically cleared on state changes of the security index.
Required authorization
- Cluster privileges:
manage_security
Parameters
path Path Parameters
| Name | Type |
|---|---|
ids
required
Comma-separated list of API key IDs to evict from the API key cache.
To evict all API keys, use | type TypesIds = type TypesId = string | type TypesId = string[] |
Responses
200 application/json
{ _nodes: TypesNodeStatistics ;cluster_name: TypesName ;nodes: { }; }