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

# Update team

`PATCH /v1/teams/{teamId}`

Updates a team's name and-or membership list within an organization.

## Path parameters

- `teamId` string, typeid, required

## Request body

- object
  - `name` string
  - `memberIds` string[]

## Response `200`

Team updated successfully.

- TeamResponse
  - `team` object, required
    - `id` string, typeid, required — Den TypeID with 'tem_' prefix and a 26-character base32 suffix.
    - `organizationId` string, typeid, required — Den TypeID with 'org_' prefix and a 26-character base32 suffix.
    - `name` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `memberIds` string[], required
    - `managedByScim` boolean, required

## Other responses

- `400` — The team update request was invalid.
- `401` — The caller must be signed in to update teams.
- `403` — Only workspace owners and admins can update teams.
- `404` — The team, organization, or a referenced member could not be found.

---

[API](https://skmtc.net/openworklabs/apis/den-api.md) · [All operations](https://skmtc.net/openworklabs/apis/den-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openworklabs/den-api/versions/805150503452/schema)
