List of Roles
Get a list of all policy roles. These represent the authorization roles that can be assigned when granting access to vendor resources (e.g., GitLab Developer, Google Drive Viewer).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Can be a value of with (response will contain deleted items as well), only (will contain only deleted items), or any arbitrary value (will contain only not deleted items).
id, -id, policy_type, -policy_type, integration_id, -integration_id, name, -name, handle, -handle, integration_reference, -integration_reference, created_at, -created_at, updated_at, -updated_at, -id, --id, -policy_type, --policy_type, -name, --name, -handle, --handle, -integration_reference, --integration_reference, -created_at, --created_at, -updated_at, --updated_at Filter by policy type
Filter by integration ID
Filter by integration type (polymorphic morph class)
Filter by an exact match of the display name field
Filter by an exact match of the display name field
Filter by an exact match of the display name field
Response
The collection of PolicyRoleDetailedResponseData
"porol_01hq8xyzabc123def456ghi789"
The policy type that this role applies to
directory_attribute, google_workspace_group, okta_group The ID of the integration that this role is associated with (polymorphic)
The type of the integration that this role is associated with (polymorphic)
Title Case human readable name
alpha-dash string that is similar to the name or uses shorthand abbreviations
The vendor-specific name or ID used in API queries
Sort order for display purposes. Lower numbers appear first
10
Whether this is a system-defined role (true) or user-created (false)
true
Count of related records.
This is empty for now but reserved for future use and consistency with API patterns
1The timestamps for the role record
API hyperlinks related to the role record