To learn more, visit the Bitbucket documentation.
Parameters
| Parameter | Description |
|---|---|
| Async | Default value is false.When set to true, runs merge asynchronously andimmediately returns a 202 with polling link tothe task-status API in the Location header.When set to false, runs merge and waits for it tocomplete, returning 200 when it succeeds. If theduration of the merge exceeds a timeout threshold,the API returns a 202 with polling link to thetask-status API in the Location header. |
| Close Source Branch | Whether the source branch should be deleted. If this is not provided, we fallback to the value used when the pull request was created, which defaults to False. |
| Merge Strategy | The merge strategy that will be used to merge the pull request. |
| Message | The commit message that will be used on the resulting commit. |
| Pull Request ID | The id of the pull request. |
| Repo Slug | This can either be the repository slug or the UUID of the repository,surrounded by curly-braces, for example: {repository UUID}. |
| Workspace Slug | This can either be the workspace ID (slug) or the workspace UUIDsurrounded by curly-braces, for example: {workspace UUID}. |