Request Body
Commit SHA to remove the note from
Set to
"remove" to delete the noteObject with
name and email for the notes commitExpected notes ref SHA for optimistic concurrency control
JWT Requirements
- The JWT must include the repository in the
repoclaim - Requires
git:writescope
Response
Response Fields
The commit SHA the note was attached to
The notes reference (
refs/notes/commits)Previous notes ref commit SHA
New notes ref SHA after the operation
Operation result with
success, status, and optional messageError Responses
Note doesn’t exist for the specified commit
expected_ref_sha doesn’t match current notes refInvalid JWT or missing
git:write scopeMissing required fields