---
title: "PATCH /api/notes/{note}/undo-trash"
method: PATCH
path: "/api/notes/{note}/undo-trash"
tags: ["note-controller"]
---

# PATCH /api/notes/{note}/undo-trash

`PATCH /api/notes/{note}/undo-trash`

## Path parameters

- `note` integer, required

## Request body

- NoteTrashUndoDTO
  - `priorTitle` string, required
  - `priorFolderId` integer — Prior containing folder id, or null when the note was at notebook root.

## Response `200`

OK

## Changes

- **2026-09-13** `6d3abf38fab7` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/nerds-odd-e/apis/openapi-definition/changes/api/notes/:note/undo-trash/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.dev/nerds-odd-e/apis/openapi-definition/revisions/6d3abf38fab7?raw)
