---
title: "Update a team"
method: PATCH
path: "/api/v1/teams/{team}"
tags: ["account"]
---

# Update a team

`PATCH /api/v1/teams/{team}`

## Request

- Base URL: `https://meettempi.com`
- URL: `https://meettempi.com/api/v1/teams/{team}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `tempi_session`

Changes the team name or slug (old links keep working and redirect), its time format, or replaces its invitee blocklist. Blocked emails and domains can no longer book any of its event types. Requires admin.

## Path parameters

- `team` string, required: the id or slug of a team you belong to

## Request body

- object
  - `name` string: the team’s name, as invitees see it on its booking pages (at most 80 characters, no web addresses)
  - `slug` string: 1-40 lowercase letters, digits or dashes, starting and ending with a letter or digit
  - `blockedInvitees` string[]: the full blocklist of email addresses and domains ("spam.com" or "@spam.com" also covers subdomains), or [] to clear it
  - `timeFormat` '12h' | '24h', nullable: how times read on the team's booking pages and in its emails: 12h (1:30 PM), 24h (13:30), or null for each visitor's own

## Response `200`

Success

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/meettempi/apis/tempi-api.md) · [All operations](https://skmtc.dev/meettempi/apis/tempi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/meettempi/apis/tempi-api/revisions/36787210a2ce?raw)
