Skip to main content
POST
Rebase 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
resolutions
object[]

Conflict resolutions for rebasing

Response

200 - application/json

Rebase result

Rebase result

success
boolean
required

Whether the rebase was successful

newBaseCommitId
string<uuid>
required

ID of the new base commit

message
string
required

Human-readable result message

newCommitId
string<uuid>

ID of the new commit created by rebase

stats
object

Rebase statistics