---
title: "Update Team Settings"
method: PATCH
path: "/v1/teams/{team_id}/settings"
tags: ["teams"]
---

# Update Team Settings

`PATCH /v1/teams/{team_id}/settings`

## Request

- Base URL: `https://api.pioneer.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pioneer.ai/v1/teams/{team_id}/settings`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/pioneer/apis/brain-api/docs/v1/teams/:team_id/settings/patch.ts> (a function with typed inputs; its response is checked against the schema)

Update team settings.

Args:
    team_id: Team identifier.
    settings: Validated settings payload.
    auth: Authenticated caller.
    service: Team service.

Returns:
    Update confirmation.

## Path parameters

- `team_id` string, required

## Request body

- TeamSettingsUpdate: Allowed fields for PATCH /teams/{team_id}/settings.
  - `zero_data_retention` boolean, nullable: Enable account-level Zero Data Retention: inference is not persisted and upstream gateways are told not to retain data.

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-24** `0e5e86e2bae5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pioneer/apis/brain-api/changes/v1/teams/:team_id/settings/patch.md)

---

[API](https://skmtc.dev/pioneer/apis/brain-api.md) - [All operations](https://skmtc.dev/pioneer/apis/brain-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pioneer/apis/brain-api/revisions/0e5e86e2bae5?raw)
