Replace a note's text and annotations. This operation is experimental.
Requires `notes:write`. This example clears existing annotations with `annotations: []`.

See the [Notes guide](https://developers.buffer.com/guides/notes.md) for the complete workflow and error handling.

```graphql
mutation UpdateNote {
  updateCollaborationNote(input: {
    noteId: "YOUR_NOTE_ID"
    text: "The revised caption is ready for review."
    annotations: []
  }) {
    __typename
    ... on UpdateCollaborationNoteSuccess { note { id text allowedActions } }
    ... on MutationError { message }
  }
}
```

An update replaces both text and annotations. Omitting annotations, passing null, or using an empty array clears existing annotations.
