DELETE
/repos/{owner}/{repo}/comments/{comment_id}Delete a commit comment
Deletes a specific commit comment from a repository. Use owner, repo, and comment_id to identify the repository and comment to remove. The deletion permanently removes the comment and does not return a response body.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
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 integer identifier of the commit comment to delete.
204Returns no content when the commit comment is deleted successfully.
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 identified by owner, repo, or comment_id cannot be found. Use the repository name without the .git extension and provide the comment's unique integer identifier.