Skip to main content
Roles define the permissions that can be granted within an organization. Permissions are not assigned to users directly — a role is attached to a group, and every user in that group inherits it. Roles are predefined, so this command is read-only. Use it to look up the role IDs you need for the spec.roleIDs field when creating or updating a group. For how groups and roles fit together, see Groups and roles.

Subcommands

  • list — List roles

list

List the roles available in an organization, with their names and descriptions. Aliases: list, ls

Flags

FlagDescription
—org stringOrganization ID
—jsonEmit the full JSON payload (mutually exclusive with -q)
-q, —query stringArrayjq filter for value extraction (see Query output with -q)

Examples