raff role command group manages IAM roles. System roles (Owner, Admin, Operator, Member, etc.) are immutable and managed by the platform; only custom roles can be created here. Every subcommand supports --output json for scripting. Alias: raff roles.
Subcommand index
list
ID, NAME, SLUG, SCOPE, SYSTEM, PERMISSIONS (count).
get
create
--name, --slug, --scope, at least one --permission. Pass --permission multiple times to add several permissions. Discover permission names via raff permission list --scope <scope>.
update
--permission replaces the entire permission set; omit to keep current permissions.
delete
--force to skip the confirmation prompt.
Related
Permission commands
Browse the permission catalog.
raff_role (Terraform)
Declarative role management.
Member commands
Assign roles to members.