Skip to content

Delete an issue comment

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

You can use the REST API to delete comments on issues and pull requests. Every pull request is an issue, but not every issue is a pull request.

API method documentation

owner
required
string

The account owner of the repository. The name is not case sensitive.

repo
required
string

The name of the repository without the .git extension. The name is not case sensitive.

comment_id
required
integer format: int64

The unique identifier of the comment.

Response