---
title: "Trash a folder"
method: POST
path: "/api/notebooks/{notebook}/folders/{folder}/trash"
tags: ["notebook-folder-controller"]
---

# Trash a folder

`POST /api/notebooks/{notebook}/folders/{folder}/trash`

Moves an active folder subtree beneath _trash while mirroring its original ancestor path. The subtree and authored content are retained for ordinary Move recovery.

## Path parameters

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

## Response `200`

OK

## Changes

- **2026-09-19** `b88bb26a237e` — 2 info
  - api tag `notebook-folder-controller` added
  - api tag `notebook-controller` removed
- **2026-09-14** `68bc3a0e7450` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/nerds-odd-e/apis/openapi-definition/changes/api/notebooks/:notebook/folders/:folder/trash/post.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.dev/nerds-odd-e/apis/openapi-definition/revisions/b88bb26a237e?raw)
