Skip to main content

role

Retrieve detailed information about a specific role.

Returns comprehensive role data including permissions, role definitions, and metadata. Used for role management and authorization configuration.

Possible errors:

  • ROLE_NOT_FOUND_ERROR: Role with the specified ID does not exist

AUTH: Role=[role.OWNER,role.EDITOR,role.VIEWER]

role(
id: ID!
): Role!

Arguments

role.id ● ID! non-null scalar

Unique identifier of the role to retrieve.

Must be a valid UUID format representing an existing role in the system.

Type

Role object