v7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-013764062.2 MB
Projects

Get project-role mappings

Enterprise feature

For the provided role, retrieves a list of projects that use this role. For each project it also contains information about how the role used in that project, such as how many users, groups, or service accounts that use the role.

get/api/admin/projects/roles/{roleId}/access

Path parameters

roleIdstring required

Response

projectRoleUsageSchema

Example response

{
  "projects": [
    {
      "project": "project-a",
      "role": 3,
      "userCount": 1,
      "serviceAccountCount": 1,
      "groupCount": 1
    }
  ]
}