# Edit a record note

Update one internal note using its current version and a nonempty body. Preserves the original author and creation time, records the editor and edit time, and rejects stale versions. Refresh notes before retrying a conflict. Requires write access to the record.

Access class: `def:read`.

## Endpoint

`PATCH /v1/definitions/{key}/rows/{rowId}/notes/{noteId}`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |
| rowId | path | string | Yes |
| noteId | path | string | Yes |

## Request body

Content type: `application/json`.

```json
{
  "body": "string",
  "version": 1.5
}
```

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "authorName": "string",
    "authorUserId": 1.5,
    "body": "string",
    "createdAt": "2026-01-01T00:00:00Z",
    "editedAt": "2026-01-01T00:00:00Z",
    "editedByName": "string",
    "id": "",
    "version": 1.5
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
