---
title: "Update Folder"
method: PUT
path: "/api/folders/{folder_id}"
tags: ["folders"]
---

# Update Folder

`PUT /api/folders/{folder_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/folders/{folder_id}`
- Auth: HTTP bearer

Update a folder.

## Path parameters

- `folder_id` string, uuid, required

## Request body

- FolderUpdate
  - `name` string, nullable
  - `root_path` string, nullable
  - `git_remote` string, nullable
  - `hostname` string, nullable
  - `group` string, nullable
  - `chat_logging_enabled` boolean, nullable

## Response `200`

Successful Response

- FolderResponse
  - `name` string, required
  - `root_path` string, nullable
  - `git_remote` string, nullable
  - `hostname` string, nullable
  - `group` string, nullable
  - `id` string, uuid, required
  - `user_id` string, uuid, required
  - `chat_logging_enabled` boolean
  - `archived_at` string, date-time, nullable
  - `created_at` string, date-time, required
  - `updated_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)
