---
title: "Update the team."
method: PUT
path: "/api/teams/{team}"
tags: ["Teams"]
---

# Update the team.

`PUT /api/teams/{team}`

## Path parameters

- `team` string, required

## Request body

- UpdateTeamDto
  - `name` string, required — The name of the team.

## Response `200`

Team updated.

- TeamDto
  - `_links` object, required — The links.
  - `id` string, required — The ID of the team.
  - `name` string, required — The name of the team.
  - `version` integer, required — The version of the team.
  - `created` string, date-time, required — The timestamp when the team has been created.
  - `lastModified` string, date-time, required — The timestamp when the team has been modified last.
  - `roleName` string, nullable — The role name of the user.

## Other responses

- `400` — Team request not valid.
- `404` — Team not found.
- `500` — Operation failed.

---

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