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

# Update a Team

`PATCH /teams/{team}`

Update a team's attributes or users.
The endpoint can be used to add or remove users from a team.
If the account uses an external identity provider without SCIM provisioning,
team membership cannot be managed via this endpoint - the ``users`` relationship
will be ignored. Use SCIM or manage team membership directly in the identity provider.

## Path parameters

- `team` string, required

## Query parameters

- `include` string[]

## Response `200`

Successfully updated.

## Other responses

- `403` — User unauthorized to perform this action.
- `404` — Relationship not found or user unauthorized to read it.
- `409` — Quota exceeded error.
- `422` — Malformed request body (missing attributes, wrong types, etc.)
- `4XX` — Client error.
- `5XX` — Server error.

---

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