Skip to main content
Unary · Groups Lists role assignments for a group or resource. Use this method to:
  • View all role assignments for a group
  • Audit resource access
  • Check which groups have access to resources

Examples

  • List role assignments for a group: Shows all role assignments for a specific group.
  • List role assignments by resource type: Shows all role assignments for runners.

Authorization

All organization members can view role assignments (transparency model).

Endpoint

Send a Bearer token as described in Authentication. If your organization uses a custom management-plane domain, replace https://app.ona.com with that domain.

Request example

Request

gitpod.v1.ListRoleAssignmentsRequest ListRoleAssignments messages

Response

gitpod.v1.ListRoleAssignmentsResponse
gitpod.v1.ListRoleAssignmentsRequest.Filter
gitpod.v1.PaginationRequest
gitpod.v1.PaginationResponse
RoleAssignment represents a role assigned to a group on a specific resourcegitpod.v1.RoleAssignment
ResourceRole represents roles that can be assigned to groups on resources These map directly to the roles defined in backend/db/rule/rbac/role/role.go