GitHub
Merge GitHub Pull Request
Merge a pull request using merge, squash, or rebase.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| ownerstring · required | string | required | — |
| repostring · required | string | required | — |
| pullNumberstring · required | string | required | — |
| commitTitlestring · optional | string | optional | — |
| commitMessagestring · optional | string | optional | — |
| mergeMethodstring · optional | string | optional | One of: |
Response schema
{
"type": "object",
"properties": {
"data": {
"type": "object",
"description": "API response data"
}
}
}