---
title: "Update a team name."
method: PUT
path: "/api/v1/teams"
tags: ["Teams"]
---

# Update a team name.

`PUT /api/v1/teams`

## Request

- Base URL: `https://app.customgpt.ai`
- URL: `https://app.customgpt.ai/api/v1/teams`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/poll-the-people/apis/customgpt-ai/docs/api/v1/teams/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates the name of a team. Only the team owner or a member with the update permission can perform this action.

## Request body

- object
  - `team_name` string: New team name

## Response `200`

Team retrieved successfully

- object
  - `status` 'error' | 'success': The status of the response
  - `data` Team
    - `id` integer: Team ID
    - `owner_id` integer: ID of the user who owns this team
    - `name` string: Team name
    - `personal_team` boolean: True for the auto-created personal team, false for shared/org teams
    - `created_at` string, date-time: When was this team created?
    - `updated_at` string, date-time: When was this team updated?

## Other responses

- `400`: Bad Argument
- `401`: API Token is either missing or invalid
- `500`: Internal Server Error

## Changes

- **2026-11-03** `77aab4354382`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/poll-the-people/apis/customgpt-ai/changes/api/v1/teams/put.md)

---

[API](https://skmtc.dev/poll-the-people/apis/customgpt-ai.md) - [All operations](https://skmtc.dev/poll-the-people/apis/customgpt-ai/llms.txt) - [OpenAPI document](https://skmtc.dev/poll-the-people/apis/customgpt-ai/revisions/77aab4354382?raw)
