---
title: "Change a team"
description: "Leads and workspace admins: name, icon, colour, description, Slack channel, Jira projects and weekly digest."
canonical_url: https://docs.markdrop.in/api/teams/change-a-team
last_updated: 2026-11-20
site: "Markdrop Docs"
index: https://docs.markdrop.in/llms.txt
---

# Change a team

`PATCH https://api.markdrop.in/api/v1/workspaces/{workspace_id}/teams/{team}`

Leads and workspace admins: name, icon, colour, description, Slack channel, Jira projects and weekly digest. `visibility`: workspace admins only.

- **Authentication:** API token required: `Authorization: Bearer mdk_…`.
- **Rate limit:** 120 per minute per IP address.
- **MCP tool:** `update_team` ([tools](https://docs.markdrop.in/ai/tools))

## Path parameters

- `workspace_id` (string, required): The workspace's id, from the address of its settings page (`markdrop.in/settings/workspaces/<workspace-id>`) or from [List workspaces](https://docs.markdrop.in/api/workspaces/list-workspaces).
- `team` (string, required)

## Request body

`application/json`, required.

- `name` (string): 1–80 characters.
- `icon` (string): Up to 16 characters.
- `color` ("blue" | "green" | "amber" | "red" | "violet" | "pink" | "teal" | "gray")
- `description` (string): Up to 400 characters.
- `visibility` ("open" | "private")
- `slack_channel` (object)
  - `id` (string, required): 1–40 characters.
  - `name` (string): Up to 80 characters.
- `slack_comments` (boolean): Post new and resolved comments on the team's items to its Slack channel (default on).
- `jira_projects` (array of string): Up to 20 items.
- `digest` (object)
  - `enabled` (boolean): Default `true`.
  - `email` (boolean): Default `true`.
  - `slack` (boolean): Default `true`.
- `meetings_by_attendees` (boolean): Add new meetings to this team when its members are half or more of the attendees (default on). Off: only meetings imported or moved into it, such as from Zoom.
- `backlog` (boolean): Keep the team's backlog page up to date from its calls (default on; not General). Off: the page stays as it is and leaves the sidebar.

## Responses

- `200`: OK.
- `401`: No token, or the token is revoked or mistyped.
- `422`: The request didn't validate. `detail` lists each problem, with where it is (`loc`) and why (`msg`).
- `429`: Too many requests from your IP address. Wait the seconds in `Retry-After`.

## Examples

**curl**

```bash
curl -X PATCH https://api.markdrop.in/api/v1/workspaces/WORKSPACE_ID/teams/TEAM \
  -H "Authorization: Bearer $MARKDROP_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{}'
```

**JavaScript**

```javascript
const res = await fetch("https://api.markdrop.in/api/v1/workspaces/WORKSPACE_ID/teams/TEAM", {
  method: "PATCH",
  headers: {
    Authorization: `Bearer ${process.env.MARKDROP_TOKEN}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({}),
});
const data = await res.json();
```

**Python**

```python
import os

import requests

r = requests.patch(
    "https://api.markdrop.in/api/v1/workspaces/WORKSPACE_ID/teams/TEAM",
    headers={"Authorization": f"Bearer {os.environ['MARKDROP_TOKEN']}"},
    json={},
)
r.raise_for_status()
print(r.json())
```
