---
title: "Update team"
method: PATCH
path: "/team"
tags: ["Team"]
---

# Update team

`PATCH /team`

## Request

- Base URL: `https://api.autumn.ai`
- URL: `https://api.autumn.ai/team`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Update team profile or settings.

## Request body

- TeamUpdateRequest
  - `name` string, nullable
  - `website` string, nullable
  - `settings` TeamSettingsPatch
    - `owners_can_demote_owners` boolean, nullable
    - `share_chats_by_default` boolean, nullable
  - `version` integer, nullable

## Response `200`

The updated account and team view.

- object

## Other responses

- `400`: `invalid_request`: The request is invalid. Fix the field in `param` (see `detail`), or read `message`.
- `401`: `unauthorized`: Missing or invalid credentials. Send your full API key as `X-API-Key: <key>` or `Authorization: Bearer <key>`.
- `403`: `forbidden`: This account cannot access this resource. The same request fails with the same key.
- `404`: `not_found`: Not found. Every route is listed at https://api.autumn.ai/openapi.json; guide at https://www.autumn.ai/docs.
- `409`: `conflict`: The request conflicts with the current state of the resource.
- `422`: `invalid_request`: a field failed validation. `param` names it; `detail` is the validator output.
- `503`: `auth_unavailable`: Key verification is temporarily unavailable. Wait `retry_after` seconds, then send the request again.

---

[API](https://skmtc.dev/autumn-ai/apis/autumn-task-api.md) - [All operations](https://skmtc.dev/autumn-ai/apis/autumn-task-api/llms.txt) - [OpenAPI document](https://skmtc.dev/autumn-ai/apis/autumn-task-api/revisions/78fb43699783?raw)
