v2
latestOpenAPI 3.0.02026-08-013312111.4 MBPullrequests
Merge a pull request
Merges the pull request.
post/repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge
Query parameters
asyncboolean
Default value is false.
When set to true, runs merge asynchronously and immediately returns a 202 with polling link to the task-status API in the Location header.
When set to false, runs merge and waits for it to complete, returning 200 when it succeeds. If the duration of the merge exceeds a timeout threshold, the API returns a 202 with polling link to the task-status API in the Location header.
Request body
Response
The pull request object.