---
title: "Update a folder"
method: PATCH
path: "/folders/{id}"
tags: ["Folders"]
---

# Update a folder

`PATCH /folders/{id}`

## Request

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

Rename, move under a different `parentId` (cycle-guarded), or change visibility. Scope: `documents:write`.

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string
  - `parentId` string
  - `visibility` 'PRIVATE' | 'TEAM' | 'SHARED'

## Response `200`

Updated

## Other responses

- `400`: Cycle / invalid parent
- `404`: Not found

---

[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)
