---
title: "Update a team"
method: PATCH
path: "/v2/teams/{teamId}"
tags: ["Teams"]
---

# Update a team

`PATCH /v2/teams/{teamId}`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/teams/{teamId}`
- Auth: HTTP bearer

Update the name, description, and visibility of a team.

  ### Usage notes
  - Retrieve the **teamId** by calling the [/v2/teams](https://help.sigmacomputing.com/reference/list-teams) endpoint.

## Path parameters

- `teamId` string, required

## Request body

- object
  - `name` string
  - `description` string
  - `visibility` 'public' | 'private'

## Response `200`

The response body.

- TeamsUpdateTeamResponse200
  - `teamId` string, required
  - `createdBy` string, required
  - `updatedBy` string, required
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required
  - `name` string, required
  - `description` string, nullable, required
  - `visibility` 'public' | 'private', required
  - `isArchived` boolean

---

[API](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api.md) - [All operations](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/revisions/fb6036208c49?raw)
