bb_delete_pull_request_comment
Delete a comment from a Bitbucket pull request. Only the comment author may delete it.
Instructions
Delete a comment from a Bitbucket pull request.
Permanently removes the comment. Only the comment's author may delete it — deleting someone else's comment fails with an authorization error. Get comment ids from bb_get_pull_request_comments. Returns a confirmation with the deleted comment id.
Args: pull_request_id: The PR id (number). comment_id: The id of the comment to delete. workspace: Bitbucket workspace slug. repo: Repository slug.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository slug. Defaults to BITBUCKET_DEFAULT_REPO. | |
| workspace | No | Bitbucket workspace slug. Defaults to BITBUCKET_WORKSPACE. | |
| comment_id | Yes | The id of the comment to delete. | |
| pull_request_id | Yes | The PR id (number). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||