---
title: "Update a room folder"
method: PATCH
path: "/rooms/{id}/folders/{folderId}"
tags: ["Rooms"]
---

# Update a room folder

`PATCH /rooms/{id}/folders/{folderId}`

## Request

- Base URL: `https://dataroom.corgi.com/api/v1`
- URL: `https://dataroom.corgi.com/api/v1/rooms/{id}/folders/{folderId}`
- Auth: HTTP bearer

Rename, move (`parentId`; "root" for the top level, cycle-guarded, duplicate-name-guarded on move), or restyle (`icon`/`color`, off-allowlist values ignored). Empty-string resets (`parentId`/`icon`/`color`) are MCP-only (`update_room_folder`) — this REST endpoint treats an empty string as an omitted field. Move failures return typed codes `MOVE_CYCLE` / `MOVE_INVALID_PARENT` / `MOVE_DUPLICATE_NAME`. Scope: `datarooms:write`.

## Path parameters

- `id` string, required
- `folderId` string, required

## Request body

- object
  - `name` string
  - `parentId` string
  - `icon` string
  - `color` string

## Response `200`

Updated

## Other responses

- `400`: Invalid parent
- `404`: Not found
- `409`: Cycle / duplicate name / room frozen

---

[API](https://skmtc.dev/corgi/apis/dataroom-api.md) - [All operations](https://skmtc.dev/corgi/apis/dataroom-api/llms.txt) - [OpenAPI document](https://skmtc.dev/corgi/apis/dataroom-api/revisions/73f75ef04a00?raw)
