---
title: "Update a team"
method: PATCH
path: "/teams/{teamId}"
---

# Update a team

`PATCH /teams/{teamId}`

## Path parameters

- `teamId` string, required

## Request body

- TeamUpdate
  - `name` string
  - `status` string

## Response `200`

Successful response

- Team
  - `_id` string
  - `name` string
  - `status` string
  - `reviewers` Reviewer[]
    - `employee_id` string
    - `name` string
    - `read_only` boolean
    - `_id` string
    - `added_on` string, date-time
  - `code` string
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `__v` number
  - `updated_by` string
  - `employee_count` number
  - `employees` Employee[]
    - `name` string
    - `phone` string
    - `organization_email` string
    - `employee_id` string
    - `role` 'CARD USER' | 'REVIEWER' | 'APPROVER'
    - `team_code` string
    - `key` string
    - `balance` number
  - `balance` number

---

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