Decline Pull Request
decline_pull_requestDecline a Bitbucket pull request by specifying repository, pull request ID, and optional reason.
Instructions
Decline a pull request.
Args: repo_slug: Repository slug pull_request_id: Pull request ID workspace: Workspace name (optional, defaults to configured workspace) message: Reason for declining (optional)
Returns: Updated pull request details
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | ||
| repo_slug | Yes | ||
| workspace | No | ||
| pull_request_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |