DELETE/repos/{owner}/{repo}/comments/{comment_id}

Delete a commit comment

Deletes a commit comment from the specified repository. Use owner, repo, and comment_id to identify the repository and comment to remove.

3 parameters
ownerstringrequired
The account owner of the repository. The name is not case sensitive.
repostringrequired
The repository name without the `.git` extension. The name is not case sensitive.
comment_idintegerrequired
The unique identifier of the commit comment to delete.

2 status codes
204Returns no response body and confirms that the commit comment was deleted.
404Returned when the repository or commit comment cannot be found.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 404 is returned when the repository or commit comment cannot be found. The owner and repo path parameters must identify the repository, and the comment_id path parameter must identify the comment to delete.