Skip to content

Removes a note corresponding to a single commit from a repository

DELETE
/repos/{owner}/{repo}/git/notes/{sha}
owner
required
string

Owner of the repo

repo
required
string

Name of the repo

sha
required
string

A git ref or commit sha

APIEmpty is an empty response

Media type application/json

APINotFound is a not found error response

Media type application/json
object
errors
Array<string>
message
string
url
string
Example generated
{
"errors": [
"example"
],
"message": "example",
"url": "example"
}

APIValidationError is error format response related to input validation

Media type application/json
object
message
string
url
string
Example generated
{
"message": "example",
"url": "example"
}