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

# Delete a room folder

`DELETE /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

Soft-deletes the folder and its whole subtree (subfolders + their files) with one shared timestamp, so Trash restores it as a unit. Scope: `datarooms:write`.

## Path parameters

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

## Response `200`

Deleted (`{ id, folderCount, fileCount }`)

## Other responses

- `404`: Not found
- `409`: Room is 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)
