---
title: "Set default teams in workspace"
method: PUT
path: "/workspaces/{slug}/teams/default"
---

# Set default teams in workspace

`PUT /workspaces/{slug}/teams/default`

Set which teams should be marked as default in the workspace. Only users with workspace management permissions can modify default teams.

## Path parameters

- `slug` string, required

## Request body

- object
  - `teamIds` string[], required — Array of team IDs that makes up the set of default teams for this workspace.
  - `addCurrentMembers` boolean — Add all current and invited workspace members to the default teams.

## Response `default`

Successful

---

[API](https://skmtc.dev/datawrapper/apis/datawrapper-api-v3-documentation.md) · [All operations](https://skmtc.dev/datawrapper/apis/datawrapper-api-v3-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/datawrapper/datawrapper-api-v3-documentation/revisions/e190512863c7/schema)
