---
title: "Update Note"
method: PATCH
path: "/v2/notes/{note_id}"
tags: ["external", "external-v2"]
---

# Update Note

`PATCH /v2/notes/{note_id}`

Submit a complete markdown body for a note and the exact `version` being updated.
Send the full desired body in `content` (not a partial markdown patch).
The first line of `content` becomes the updated title.
Trashed notes must be restored before they can be updated.

## Path parameters

- `note_id` string, uuid, required — UUID of the note to update. Use an ID returned by create/list/search. The caller must be able to edit this note.

## Request body

- UpdateNoteRequestSchema
  - `content` string, required — Complete markdown body to submit for this write. Send the full desired note body (partial patch semantics are not supported in this request payload). The first line is interpreted as the title.
  - `updated_at` string, date-time, nullable — Optional "last updated" timestamp for this write (ISO 8601). If omitted, the current server time is used.
  - `version` integer, required — Exact note content document version this update is based on. Use the `version` returned by `GET /v2/notes/{note_id}` or by the most recent note write response.

## Response `200`

OK

- UpdateNoteResponseSchema
  - `collection_ids` string[], required — Collection UUIDs currently associated with this note.
  - `content` string, required — Full markdown content stored after the update.
  - `created_at` string, date-time, required — Creation timestamp for the note in ISO 8601 format.
  - `id` string, uuid, required — UUID of the updated note.
  - `request_id` string, required — Identifier for this API request. Useful for tracing and support.
  - `title` string, required — Current note title after the update.
  - `trashed_at` string, date-time, nullable, required — Timestamp for when the note was moved to trash, or null when the note is active.
  - `updated_at` string, date-time, required — Last modification timestamp after the update in ISO 8601 format.
  - `version` integer, required — Current note content document version after the update.

---

[API](https://skmtc.net/mem/apis/mem-api.md) · [All operations](https://skmtc.net/mem/apis/mem-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mem/mem-api/versions/4023cb07f31f/schema)
