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

# Update a team

`PATCH /teams/{id}`

Updates the team with the specified ID.

## Path parameters

- `id` string, required

## Request body

- UpdateTeamDto
  - `name` string
  - `avatarUrl` string, nullable
  - `description` string, nullable
  - `emailAddresses` OrganizationalEmailAddressInputDto[]
    - `email` string, email, required
    - `purpose` 'personal' | 'work', nullable, required
    - `isPrimary` boolean
  - `phoneNumbers` OrganizationalPhoneNumberInputDto[]
    - `phoneNumber` string, required
    - `purpose` 'personal' | 'work', nullable, required
    - `isPrimary` boolean

## Response `204`

Team updated successfully.

## Other responses

- `400` — Bad Request
- `500` — Error response

---

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