---
title: "Update project note"
method: PUT
path: "/projects/{project_id}/note"
tags: ["Project Notes"]
---

# Update project note

`PUT /projects/{project_id}/note`

Updates the project note's body and records the current user as last_edited_by.

## Request body

- object
  - `comment_content` string — Rich-text body. HTML is accepted and sanitized.

## Response `200`

successfully updated the project note

- object
  - `data` ProjectNote
    - `id` integer
    - `project_id` integer
    - `last_edited_by_id` integer — ID of the user who last edited the note
    - `comment_content` string — Rich-text body rendered as sanitized HTML
    - `comment_content_as_string` string — Plain-text version of the body, suitable for non-HTML clients
    - `created_at` string, date-time
    - `updated_at` string, date-time

## Other responses

- `404` — project note not found
- `422` — validation failed

---

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