---
title: "Edit Team"
method: PATCH
path: "/v2/org/{org-name}/teams/{team-name}"
tags: ["Teams"]
---

# Edit Team

`PATCH /v2/org/{org-name}/teams/{team-name}`

Edit a Team

## Path parameters

- `org-name` string, required
- `team-name` string, required

## Request body

- TeamUpdateRequest — object used to update information about existing 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
  - `description` string — description of the team
  - `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

## Response `200`

OK

- TeamResponse — details about one team
  - `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
  - `team` Team — Information about the 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)
