---
title: "Update a team"
method: PATCH
path: "/v1/workspaces/{workspace_id}/teams/{team_id}"
tags: ["Teams"]
---

# Update a team

`PATCH /v1/workspaces/{workspace_id}/teams/{team_id}`

## Request

- Base URL: `https://api.oxvo.com`
- URL: `https://api.oxvo.com/v1/workspaces/{workspace_id}/teams/{team_id}`
- Auth: API key in header `api_access_token`

Update a team's attributes

## Request body

- TeamCreateUpdatePayload
  - `name` string: The name of the team
  - `description` string: The description of the team
  - `allow_auto_assign` boolean: If this setting is turned on, the system would automatically assign the conversation to an agent in the team while assigning the conversation to a team

## Response `200`

Success

- Team
  - `id` number: The ID of the team
  - `name` string: The name of the team
  - `description` string, nullable: The description about the team
  - `allow_auto_assign` boolean: If this setting is turned on, the system would automatically assign the conversation to an agent in the team while assigning the conversation to a team
  - `account_id` number: The ID of the account with the team is a part of
  - `is_member` boolean: This field shows whether the current user is a part of the team

## Other responses

- `401`: Unauthorized

---

[API](https://skmtc.dev/oxvo/apis/oxvo-apis.md) · [All operations](https://skmtc.dev/oxvo/apis/oxvo-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/oxvo/apis/oxvo-apis/revisions/9a8448cbd1fe?raw)
