---
title: "Create/Update Folder Team Collaborator"
method: PUT
path: "/v1/folders/{id}/shares/teams/{teamId}"
tags: ["Folders Collaboration"]
---

# Create/Update Folder Team Collaborator

`PUT /v1/folders/{id}/shares/teams/{teamId}`

Updates the details of the given team's collaboration on the given folder, or adds the team as a collaborator on the folder if it is not already a collaborator.

## Path parameters

- `id` number, required
- `teamId` number, required

## Request body

- object
  - `role` 'editandshare' | 'edit' | 'comment' | 'view' — The Collaborator Role to assign to the team for this folder.

## Response `200`

OK when updating an existing Folder Team Collaborator. Contains the updated Folder Team Collaborator Resource.

- FolderTeamCollaborator
  - `folderId` integer, required — Folder ID
  - `teamId` integer, required — Team ID
  - `role` 'owner' | 'editandshare' | 'edit' | 'comment' | 'view', required — The Collaborator Role on the document or folder
  - `created` string, date-time, required — Date and time when the collaboration was created

## Other responses

- `201` — Created when creating a new Folder Team Collaborator. Contains the new Folder Team Collaborator Resource.
- `400` — Bad Request when trying to add or update a collaborator to have the "owner" role.
- `403` — Forbidden when the token does not have permission for the folder, or if the folder has been deleted or does not exist.

---

[API](https://skmtc.net/lucid/apis/lucid-rest-api.md) · [All operations](https://skmtc.net/lucid/apis/lucid-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lucid/lucid-rest-api/revisions/6a32cb9e1aa7/schema)
