List system and custom roles
Authentication
An auth_token should be provided to authenticate a session.
To obtain an auth_token, see the /api/v1/authenticate POST request.
Path parameters
Workspace identifier.
Either a positive integer organization ID, or the literal string my to target the caller’s own Workspace.
Query parameters
When true, each returned role also includes its permissions array.
Defaults to false to keep the list response light.
Response
Human-readable description of the role. An empty string when no description has been set.
Whether this is a system-defined role or an organization’s custom role.
True for built-in system roles, which can’t be modified or deleted.
Permissions assigned to this role.
Present only on single-role retrieval, or on the list when include_permissions=true.