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

# Update team

`PATCH /teams/{id}`

## Path parameters

- `id` integer, required

## Query parameters

- `skipWebhook` boolean

## Request body

- object
  - `name` string
  - `description` string
  - `locationIds` integer[] — List of location where the team is operating
  - `assetIds` integer[] — List of asset IDs that the team is responsible for
  - `membersCount` integer — Number of team members

## Response `200`

Successfully edited team

- object
  - `team` object, required
    - `id` integer, required — Global ID of the team
    - `name` string, required
    - `description` string
    - `assetIds` integer[] — List of asset IDs that the team is responsible for
    - `membersCount` integer, required — Number of team members
    - `locationIds` integer[] — List of location where the team is operating

## Other responses

- `400` — Failed to edit the team
- `401` — Invalid token
- `404` — Could not find the specified team.

---

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