delete_comment
Delete a comment from a pull request. Requires the comment version for optimistic locking.
Instructions
Delete a comment from a pull request. Requires the comment version for optimistic locking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prId | Yes | Pull request ID the comment belongs to. | |
| project | No | Bitbucket project key. If omitted, uses BITBUCKET_DEFAULT_PROJECT environment variable. | |
| version | Yes | Current version of the comment (for optimistic locking). Obtain from get_comments or add_comment response. | |
| commentId | Yes | ID of the comment to delete. | |
| repository | Yes | Repository slug containing the pull request. |