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

# Update a team

`PUT /teams/{id}`

Update a team.
**Access policy**: administrator

## Path parameters

- `id` integer, required

## Request body

- TeamsTeamUpdatePayload
  - `Name` string — Name

## Response `200`

Success

- PortainerTeam
  - `DenyPortainerAccess` boolean — Whether members of this team are denied access to Portainer itself (EE only)
  - `Id` integer — Team Identifier
  - `Name` string — Team name

## Other responses

- `400` — Invalid request
- `403` — Permission denied
- `404` — Team not found
- `500` — Server error

---

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