---
title: "List Teams"
method: GET
path: "/v2/org/{org-name}/teams"
tags: ["Teams"]
---

# List Teams

`GET /v2/org/{org-name}/teams`

List all Teams

## Path parameters

- `org-name` string, required

## Query parameters

- `page-number` integer
- `page-size` integer

## Response `200`

OK

- TeamListResponse — listing of all teams
  - `paginationInfo` PaginationInfo — object that describes the pagination information
    - `totalPages` integer — Total number of pages available
    - `index` integer — Page index of results
    - `totalResults` integer — Total number of results available
    - `nextPage` string — Serialized pointer to the next results page. Should be used for fetching next page. Can be empty
    - `size` integer — Number of results in page
  - `requestStatus` RequestStatus
    - `serverId` string
    - `statusCode` 'UNKNOWN' | 'SUCCESS' | 'UNAUTHORIZED' | 'PAYMENT_REQUIRED' | 'FORBIDDEN' | 'TIMEOUT' | 'EXISTS' | 'NOT_FOUND' | 'INTERNAL_ERROR' | 'INVALID_REQUEST' | 'INVALID_REQUEST_VERSION' | 'INVALID_REQUEST_DATA' | 'METHOD_NOT_ALLOWED' | 'CONFLICT' | 'UNPROCESSABLE_ENTITY' | 'TOO_MANY_REQUESTS' | 'INSUFFICIENT_STORAGE' | 'SERVICE_UNAVAILABLE' | 'PAYLOAD_TOO_LARGE' | 'NOT_ACCEPTABLE' | 'UNAVAILABLE_FOR_LEGAL_REASONS' | 'BAD_GATEWAY' — Describes response status reported by the server.
    - `statusDescription` string
    - `requestId` string
  - `teams` Team[]
    - `repoScanSettings` RepoScanSettings — Repo scan setting definition
      - `repoScanAllowOverride` boolean — Allow org admin to override the org level repo scan settings
      - `repoScanShowResults` boolean — Allow showing scan results to CLI or UI
      - `repoScanEnabled` boolean — Enable the repository scan or not. Only used in org level object
      - `repoScanEnableNotifications` boolean — Sends notification to end user after scanning is done
      - `repoScanByDefault` boolean — Allow repository scanning by default
      - `repoScanEnableTeamOverride` boolean — Allow override settings at team level. Only used in org level object
    - `name` string — team name
    - `infinityManagerSettings` InfinityManagerSettings — Infinity manager setting definition
      - `infinityManagerEnabled` boolean — Enable the infinity manager or not. Used both in org and team level object
      - `infinityManagerEnableTeamOverride` boolean — Allow override settings at team level. Only used in org level object
    - `id` integer — unique Id of this team.
    - `isDeleted` boolean — indicates if the team is deleted or not
    - `description` string — description of the team

## Other responses

- `302` — Found
- `400` — Bad Request
- `401` — Unauthorized
- `402` — Payment Required
- `403` — Forbidden
- `404` — Not Found
- `405` — Method Not Allowed
- `409` — Object Exists
- `415` — Unsupported Media Type
- `422` — Unprocessable Entity
- `429` — Too Many Requests
- `451` — Unavailable For Legal Reasons
- `500` — Internal Error
- `501` — Not Implemented
- `502` — Bad Gateway
- `503` — Service Unavailable

---

[API](https://skmtc.net/brevdev/apis/ngc-api-documentation.md) · [All operations](https://skmtc.net/brevdev/apis/ngc-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/brevdev/ngc-api-documentation/revisions/7f0aa99cc03e/schema)
