strazactl roles delete
Delete a role; its assignments and access rows go with it
On this page
Synopsis
Deletes the role: its assignments and access rows go with it.
A product role cannot be deleted and answers 409, which covers
straza-admin and the two straza-enroll roles. To take someone’s
access away, run strazactl unassign with the role and --user instead.
A live policy set whose match.roles names only this role is turned off
with it, since it would match nobody. The answer names such sets.
strazactl roles delete <name> [flags]
Options
--yes delete without the interactive confirm
Options inherited from parent commands
--server string strazad base URL (overrides $STRAZA_SERVER and the server you logged into)
See also
- strazactl roles: Manage roles