Skip to main content
POST
Merge the task's pull request

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

taskID
string<uuid>
required

Body

application/json
expected_head_sha
string
required

the exact 40-character lowercase head commit SHA the user reviewed; GitHub refuses the merge if the PR head has moved past it

Required string length: 40
Pattern: ^[0-9a-f]{40}$
method
enum<string>
required
Available options:
squash

Response

OK

sha
string
required
Minimum string length: 1