---
title: "PATCH /teams/{team_name}"
method: PATCH
path: "/teams/{team_name}"
tags: ["teams"]
---

# PATCH /teams/{team_name}

`PATCH /teams/{team_name}`

Update team attributes

## Path parameters

- `team_name` string, required — The unique name for the team.

## Request body

- object
  - `display_name` string — The team's display name

## Response `200`

Response

- Team — CloudQuery Team
  - `created_at` string, date-time
  - `name` string, required — The unique name for the team.
  - `plan` 'free' | 'paid' | 'enterprise' | 'trial', required — The plan the team is on (trial is deprecated)
  - `plan_end_time` string, date-time
  - `is_trial_active` boolean, required
  - `trial_end_time` string, date-time
  - `display_name` string, required — The team's display name
  - `internal` boolean, required

## Other responses

- `400` — Bad request
- `401` — Requires authentication
- `403` — Forbidden
- `404` — Resource not found
- `500` — Internal Error

---

[API](https://skmtc.net/cloudquery/apis/cloudquery-openapi-spec.md) · [All operations](https://skmtc.net/cloudquery/apis/cloudquery-openapi-spec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudquery/cloudquery-openapi-spec/versions/4af580f9023b/schema)
