Skip to main content
POST
Merge branch

Authorizations

Authorization
string
header
required

Personal access token is obtained through your profile

Path Parameters

projectId
string<uuid>
required

Project ID

branchId
required

Branch ID or "main" for the default branch

Body

application/json
message
string
required

Merge commit message

Minimum string length: 1
resolutions
object[]

Conflict resolutions

Response

200 - application/json

Merge result

Merge result

success
boolean
required

Whether the operation was successful

requiresApproval
boolean
required

Whether approval is required for the merge

message
string
required

Human-readable result message

changeRequestId
string<uuid>

ID of created change request

mergeCommitId
string<uuid>

ID of the merge commit

changes
object[]

List of merged changes

stats
object

Change statistics