---
title: "Update a Team Space folder"
method: PATCH
path: "/v1/workspaces/{workspaceId}/folders/{folderId}"
tags: ["Folders"]
---

# Update a Team Space folder

`PATCH /v1/workspaces/{workspaceId}/folders/{folderId}`

## Request

- Base URL: `https://shareout.site`
- URL: `https://shareout.site/v1/workspaces/{workspaceId}/folders/{folderId}`
- Auth: HTTP bearer

Also accepts PUT. Owners/admins for any folder; a member only for folders they created, while `members_can_create_folders` is on (otherwise 403 ADMIN_REQUIRED).

## Request body

- object
  - `name` string
  - `slug` string
  - `description` string, nullable
  - `readme` string
  - `visibility` 'inherit' | 'public' | 'workspace' | 'private'

## Response `200`

Updated folder

- Folder
  - `id` string
  - `name` string
  - `slug` string
  - `description` string, nullable
  - `artifact_count` integer
  - `parent_id` string, nullable: Team Space folders only.
  - `visibility` 'inherit' | 'public' | 'workspace' | 'private': Team Space folders only.
  - `subfolder_count` integer: Team Space folders only.
  - `path` string: Slug path; single-folder Team Space responses only.
  - `readme` string, nullable: Single-folder Team Space responses only.
  - `effective_visibility` string: Single-folder Team Space responses only.
  - `created_at` string, date-time

## Other responses

- `400`: Invalid request
- `404`: Resource not found
- `409`: Slug taken or version conflict

## Changes

- **2026-10-13** `ed6fa61bd690`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/shareout/apis/shareout-rest-api/changes/v1/workspaces/:workspaceId/folders/:folderId/patch.md)

---

[API](https://skmtc.dev/shareout/apis/shareout-rest-api.md) - [All operations](https://skmtc.dev/shareout/apis/shareout-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/shareout/apis/shareout-rest-api/revisions/1e3f7fd34f6d?raw)
