---
title: "Update Folder Share"
method: PATCH
path: "/api/shares/folders/{folder_id}/{share_id}"
tags: ["shares"]
---

# Update Folder Share

`PATCH /api/shares/folders/{folder_id}/{share_id}`

## Request

- Base URL: `https://app.ctlsurf.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.ctlsurf.com/api/shares/folders/{folder_id}/{share_id}`
- Auth: HTTP bearer

Update a folder share. Only the owner can do this.

## Path parameters

- `folder_id` string, uuid, required
- `share_id` string, uuid, required

## Request body

- FolderShareUpdate: Update a folder share.
  - `permission` 'view' | 'edit' | 'admin': Permission levels for shared resources.
  - `include_pages` boolean, nullable

## Response `200`

Successful Response

- FolderShareResponse: Folder share response with user details.
  - `id` string, uuid, required
  - `folder_id` string, uuid, required
  - `shared_with` UserSummary, required: Minimal user info for display in shares.
    - `id` string, uuid, required
    - `email` string, required
  - `permission` 'view' | 'edit' | 'admin', required: Permission levels for shared resources.
  - `include_pages` boolean, required
  - `created_by` string, uuid, required
  - `created_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ctlsurf/apis/notebook-control-plane.md) · [All operations](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/revisions/ddfbbe20d5ce?raw)
