---
title: "Update team roles for workspace invites"
method: PATCH
path: "/workspaces/{slug}/teams/{teamId}/invites"
---

# Update team roles for workspace invites

`PATCH /workspaces/{slug}/teams/{teamId}/invites`

Update the team role for existing workspace invite team associations.

## Path parameters

- `slug` string, required
- `teamId` string, required

## Request body

- object
  - `emails` string[], required — Array of email addresses of invited members that will be added to the team. They must already have been invited to the workspace and their invite must include being added to the team.
  - `role` 'member' | 'manager', required — New team role to assign to the invited members.

## 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)
