Skip to main content

roles

List a tenant's roles (predefined admin/viewer plus custom roles). Returns a feature-disabled error while custom-role management is dark. Requires change-user-roles permission on the organization.

roles(
organizationId: String!
): [Role!]!

Arguments

roles.organizationId ● String! non-null scalar

Type

Role object

A tenant (organization) role: either a predefined platform role (admin/viewer) or a custom role defined by an organization admin.