---
title: "Update the team name"
method: PATCH
path: "/admin/teams/{team_id}"
tags: ["teams", "admin"]
---

# Update the team name

`PATCH /admin/teams/{team_id}`

## Path parameters

- `team_id` string, required

## Request body

- object — Update the team
  - `max_consumption_percentage` integer, nullable — Maximum PFP API token consumption percentage per team
  - `min_consumption_percentage` integer, nullable — Minimum PFP API token consumption percentage per team
  - `name` string

## Response `200`

Succeeded

- object — Get team details.
  - `data` object, required
    - `created_at` string, date-time, required
    - `drive` object — Drive
      - `id` string, required
      - `is_active` boolean, required
      - `is_group_drive` boolean, required
      - `limit_bytes` integer, required
      - `name` string, required
      - `used_bytes` integer, required
    - `id` string, required
    - `max_consumption_percentage` integer, nullable — Maximum PFP API token consumption percentage per team
    - `members_total` integer, required
    - `min_consumption_percentage` integer, nullable — Minimum PFP API token consumption percentage per team
    - `name` string, required — team name
    - `updated_at` string, date-time, required

## Other responses

- `400` — Bad request
- `default` — Other error

---

[API](https://skmtc.dev/matlantis/apis/matlantis-web-ui-backend-api.md) · [All operations](https://skmtc.dev/matlantis/apis/matlantis-web-ui-backend-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/matlantis/matlantis-web-ui-backend-api/revisions/b155f3a32673/schema)
