stack es security clear-cached-roles cli command
Auth required
elastic stack es security clear-cached-roles --name <name> [options]
Clear the roles cache.
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--namestringrequired-
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.Repeatable: pass
--namemultiple times to supply more than one value --input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON