Delete PR Comment
bitbucket_delete_pull_request_commentDelete a pull request comment in Bitbucket Data Center. Use the comment version for optimistic locking; only the author or admin can remove it.
Instructions
Delete a comment from a pull request.
Requires the current comment version number for optimistic locking.
Only the comment author or an admin can delete a comment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | Current version of the comment (for optimistic locking — get from bitbucket_get_pull_request_comments) | |
| comment_id | Yes | The comment ID to delete | |
| project_key | Yes | The project key | |
| pull_request_id | Yes | The pull request ID number | |
| repository_slug | Yes | The repository slug |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |