---
title: "Create/Update Folder Group Collaborator"
method: PUT
path: "/v1/folders/{id}/shares/groups/{groupId}"
tags: ["Folders Collaboration"]
---

# Create/Update Folder Group Collaborator

`PUT /v1/folders/{id}/shares/groups/{groupId}`

Grants a group direct collaborator access to a given folder, or updates the group's role on the folder if it is already a collaborator.

## Path parameters

- `id` number, required
- `groupId` number, required

## Request body

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

## Response `200`

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

- FolderGroupCollaborator
  - `folderId` integer, required — Folder ID
  - `groupId` integer, required — Group 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 Group Collaborator. Contains the new Folder Group Collaborator Resource.
- `400` — Bad Request when trying to add or update a Folder Group Collaborator to have the "owner" role.
- `403` — Forbidden if the token does not have permission to the folder, or if the folder or group have been deleted or do 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)
