---
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`

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.net/semgrep/apis/semgrep-web-app.md) · [All operations](https://skmtc.net/semgrep/apis/semgrep-web-app/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/semgrep/semgrep-web-app/revisions/6483eeecd582/schema)
