---
title: "Update a team"
method: PATCH
path: "/teams/{id}"
tags: ["Teams"]
---

# Update a team

`PATCH /teams/{id}`

Update a team for the authenticated workspace. If there’s no change, returns it as it is.

## Path parameters

- `id` string, uuid, required — Unique identifier of the team

## Request body

- object
  - `name` string — Name of the team or organization. Must be between 2 and 32 characters
  - `email` string, email — Primary contact email address for the team
  - `logoUrl` string, uri — URL to the team's logo image. Must be hosted on midday.ai domain
  - `baseCurrency` string — Base currency for the team in ISO 4217 format (3-letter currency code)
  - `countryCode` string — Country code for the team
  - `fiscalYearStartMonth` integer, nullable — Month when the fiscal year starts (1-12). Null for trailing 12 months. Defaults based on country if not specified.
  - `exportSettings` object — Export settings for transactions
    - `csvDelimiter` string, required
    - `includeCSV` boolean, required
    - `includeXLSX` boolean, required
    - `sendEmail` boolean, required
    - `sendCopyToMe` boolean
    - `accountantEmail` string
  - `companyType` 'freelancer' | 'solo_founder' | 'small_team' | 'startup' | 'agency' | 'ecommerce' | 'creator' | 'non_profit' | 'accountant' | 'exploring' — Type of company or team
  - `heardAbout` 'twitter' | 'youtube' | 'friend' | 'google' | 'blog' | 'podcast' | 'github' | 'other' — How the user heard about the product

## Response `200`

Team updated

- object
  - `id` string, uuid, required — Unique identifier of the team
  - `name` string, required — Name of the team or organization
  - `logoUrl` string, uri, nullable, required — URL to the team's logo image
  - `plan` 'trial' | 'starter' | 'pro', required — Current subscription plan of the team
  - `email` string, email, nullable — Primary contact email address for the team
  - `baseCurrency` string, nullable — Base currency for the team in ISO 4217 format (3-letter currency code)
  - `countryCode` string, nullable — Country code for the team in ISO 3166-1 alpha-2 format
  - `fiscalYearStartMonth` integer, nullable — Month when the fiscal year starts (1-12). Null for trailing 12 months.

## Other responses

- `default` — An error occurred

---

[API](https://skmtc.net/midday-ai/apis/midday-api.md) · [All operations](https://skmtc.net/midday-ai/apis/midday-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/midday-ai/midday-api/versions/c0df9243c1b0/schema)
