Skip to content

Delete a commit comment

DELETE
/repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id}

Deletes the specified commit comment.

Note that deleting comments that have visible replies that point to them will not really delete the resource. This is to retain the integrity of the original comment tree. Instead, the deleted element is set to true and the content is blanked out. The comment will continue to be returned by the collections and self endpoints.

comment_id
required
integer format: int64

The id of the comment.

commit
required
string

The commit’s SHA1.

repo_slug
required
string

This can either be the repository slug or the UUID of the repository, surrounded by curly-braces, for example: {repository UUID}.

workspace
required
string

This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example: {workspace UUID}.

Indicates the comment was deleted by this action or a previous delete.

If the comment doesn’t exist