Clear service account token caches
Evict a subset of all entries from the service account token caches.
Path parameters
-
An identifier for the namespace
-
An identifier for the service name
-
A comma-separated list of service token names
POST
/_security/service/{namespace}/{service}/credential/token/{name}/_clear_cache
curl \
-X POST http://api.example.com/_security/service/{namespace}/{service}/credential/token/{name}/_clear_cache
Response examples (200)
{
"_nodes": {
"failures": [
{
"type": "string",
"reason": "string",
"stack_trace": "string",
"caused_by": {},
"root_cause": [
{}
],
"suppressed": [
{}
]
}
],
"total": 42.0,
"successful": 42.0,
"failed": 42.0
},
"cluster_name": "string",
"nodes": {
"additionalProperty1": {
"name": "string"
},
"additionalProperty2": {
"name": "string"
}
}
}