v1

latestOpenAPI 3.0.32026-07-22238629559.2 KB
TeamsService

List an RBAC team's repositories

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

get/api/permissions/v2/deployments/{deploymentId}/teams/{teamId}/repos

Path parameters

deploymentIdinteger required

The unique numerical identifier for the deployment.

Example:1111
teamIdinteger required

The unique numerical identifier for the team.

Example:1234

Query parameters

limitinteger

Maximum number of items to return in a single page.

Example:100
cursorstring

Opaque cursor used for pagination. If not provided the first page will be returned.

Response

OK

deploymentIdstring int64

The unique numerical identifier for the deployment.

teamIdstring int64

The unique numerical identifier for the team.

repositoryIdsstring[]

A list of repository IDs assigned to the team.

limitstring int64

Maximum number of items to return in a single page.

cursorstring

Opaque cursor used for pagination. If not provided the first page will be returned.

Example response

{
  "deploymentId": "1111",
  "teamId": "1234",
  "repositoryIds": [
    1111,
    2222
  ],
  "limit": "100"
}