---
title: "Update a note"
method: PATCH
path: "/v1/notes/{noteId}"
tags: ["notes"]
---

# Update a note

`PATCH /v1/notes/{noteId}`

Updates the content or visibility of an existing note. Only the fields you provide will be changed — any field you omit will remain unchanged. Use the note ID returned when the note was created.

## Path parameters

- `noteId` string, required

## Request body

- UpdateNoteDto
  - `content` string — The updated content of the note. Supports plain text.
  - `visibility` '1' | '2' — Updated visibility setting. Use "1" for public (visible to all team members) or "2" for private (visible only to you).
  - `status` '0' | '1' — Updated status of the note. Use "0" for draft or "1" for published.

## Response `200`

Note updated successfully

- unknown

## Other responses

- `400` — 1001: Note not found or access denied<br><br>
- `500` — 5001: Internal server error, please try again later<br><br>

---

[API](https://skmtc.dev/saleshandy/apis/develop-with-saleshandy.md) · [All operations](https://skmtc.dev/saleshandy/apis/develop-with-saleshandy/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/saleshandy/develop-with-saleshandy/revisions/fdaa0f2dcdfb/schema)
