---
title: "Rename a folder"
method: PATCH
path: "/api/notebooks/{notebook}/folders/{folder}"
tags: ["notebook-controller"]
---

# Rename a folder

`PATCH /api/notebooks/{notebook}/folders/{folder}`

Changes the folder display name under its current parent. Sibling name conflicts are rejected.

## Path parameters

- `notebook` integer, required
- `folder` integer, required

## Request body

- FolderRenameRequest — Rename a folder in place within its current parent.
  - `name` string, required — New display name for the folder

## Response `200`

OK

## Changes

> 145 revisions in range; 60 could not be searched.

- **2026-07-22** `13f77438750e` — 1 warning, 1 info
  - removed the optional property `indexContent` from the response with the `200` status
  - added the optional property `readmeContent` to the response with the `200` status
- **2026-05-14** `7e95b0b435af` — 1 info
  - endpoint added
- **2026-05-11** `d7c2946139e9` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/nerds-odd-e/apis/openapi-definition/changes/api/notebooks/:notebook/folders/:folder/patch.md)

---

[API](https://skmtc.dev/nerds-odd-e/apis/openapi-definition.md) · [All operations](https://skmtc.dev/nerds-odd-e/apis/openapi-definition/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nerds-odd-e/openapi-definition/revisions/44ef688a3dcd/schema)
