Notes Delete
Remove the Git note attached to a commit or other Git object SHA.
Deprecated: Use /api/repos/{repo_name}/notes instead.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Delete the Git note for the supplied SHA. note and action are ignored for DELETE requests.
Notes write request describing the commit, the action (add, append, or remove), the note content, and optional concurrency guard.
Git object SHA to attach the note to.
"b003fc78805954584e1ee364a4ad39d7c79e819a"
add replaces any existing note. append adds new text to the existing note body.
Author object with name and email for the notes commit.
Optional compare-and-swap guard for the notes ref.
Plain-text note content. Required for add and append.
Response
Note removed from the notes ref.
Result of a notes write operation, including the resulting notes ref state.
New notes ref SHA after the operation.
"3a1d9f7d6b6d482c970554e2a6ef980ecf4f1d55"
Operation result with success, status, and optional message.
The commit SHA the note is attached to.
"b003fc78805954584e1ee364a4ad39d7c79e819a"
The notes reference (refs/notes/commits).
"refs/notes/commits"
Previous notes ref commit SHA.
"0c8b5bb9d550d58fcfd651a4fdce8024ef7f1492"