---
title: "List an RBAC team's repositories"
method: GET
path: "/api/permissions/v2/deployments/{deploymentId}/teams/{teamId}/repos"
tags: ["TeamsService"]
---

# List an RBAC team's repositories

`GET /api/permissions/v2/deployments/{deploymentId}/teams/{teamId}/repos`

## Request

- The document declares no server URL.
- Auth: one of:
  - HTTP bearer
  - HTTP bearer
- TypeScript: <https://skmtc.dev/semgrep/apis/semgrep-web-app/docs/api/permissions/v2/deployments/:deploymentId/teams/:teamId/repos/get.ts> (a function with typed inputs; its response is checked against the schema)

List the repositories assigned to a Role-Based Access Control team

## Path parameters

- `deploymentId` integer, required: The unique numerical identifier for the deployment.
- `teamId` integer, required: The unique numerical identifier for the team.

## Query parameters

- `limit` integer: Maximum number of items to return in a single page.
- `cursor` string: Opaque cursor used for pagination. If not provided the first page will be returned.

## Response `200`

OK

- ProtosPermissionsV2ListTeamReposResponse
  - `deploymentId` string, int64: The unique numerical identifier for the deployment.
  - `teamId` string, int64: The unique numerical identifier for the team.
  - `repositoryIds` string[]: A list of repository IDs assigned to the team.
  - `limit` string, int64: Maximum number of items to return in a single page.
  - `cursor` string: Opaque cursor used for pagination. If not provided the first page will be returned.

---

[API](https://skmtc.dev/semgrep/apis/semgrep-web-app.md) - [All operations](https://skmtc.dev/semgrep/apis/semgrep-web-app/llms.txt) - [OpenAPI document](https://skmtc.dev/semgrep/apis/semgrep-web-app/revisions/6483eeecd582?raw)
