Skip to main content
POST
Update branch from main

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>.

Path Parameters

branch_id
string
required

ID of the branch, as returned by List branches.

app_id
string
required

ID of the app the branch belongs to.

Response

The branch after the update.

The branch after the update.

branch
BranchSummary · object
required

The branch after the update.

sync_status
BranchSyncStatus · object
required

How the branch stands against main after the update.

updated
boolean
required

false when the branch was already up to date with main, so nothing changed. true when the update was applied, or when it's waiting for your input (sync_status.sync_state is needs_input).

Example:

true