---
title: "PATCH /teams/{team_id}"
method: PATCH
path: "/teams/{team_id}"
tags: ["Teams"]
---

# PATCH /teams/{team_id}

`PATCH /teams/{team_id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/teams/{team_id}`
- Auth: HTTP bearer

## Path parameters

- `team_id` integer, required

## Request body

- UpdateTeamRequest
  - `description` string, nullable
  - `name` string, nullable

## Response `200`

Updated team

- TeamResponse
  - `created_at` string, date-time, required
  - `created_by` integer, required
  - `description` string, nullable
  - `id` integer, required
  - `name` string, required
  - `slug` string, required
  - `updated_at` string, date-time, required

## Other responses

- `400`: Validation error
- `403`: Insufficient permissions
- `404`: Team not found

## Changes

- **2026-08-06** `fe64cc48eb6f`: 1 info
  - endpoint added
- **2026-08-06** `949964f26dd7`: 1 breaking
  - api path removed without deprecation
- **2026-08-04** `f5b05de1dacb`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/teams/:team_id/patch.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
