Clear the roles cache
Evict roles from the native role cache.
Path parameters
-
name
string | array[string] Required A comma-separated list of roles to evict from the role cache. To evict all roles, use an asterisk (
*
). It does not support other wildcard patterns.
POST
/_security/role/{name}/_clear_cache
curl \
--request POST 'http://api.example.com/_security/role/{name}/_clear_cache' \
--header "Authorization: $API_KEY"