Clear the roles cache
Evict roles from the native role cache.
Path parameters
-
Role name
POST /_security/role/{name}/_clear_cache
curl \
-X POST http://api.example.com/_security/role/{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"
}
}
}