Update Branch
Enqueue an async task to pull the latest main changes into a branch.
When conflicts exist, include a `resolutions` entry for every conflict from `GET .../conflicts`, matched by `(type, id)`. Uncovered conflicts return **400** `invalid_resolution` with those conflicts listed in `details`.
<Warning title="Enterprise Only">This endpoint requires an Enterprise workspace with the page branching entitlement.</Warning>
Required scope | `branches:update`
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
site_id
Unique identifier for a Site
branch_id
Unique identifier for a Branch
Request
This endpoint expects an object.
resolutions
Required when conflicts exist. Include one resolution for every conflict from GET .../conflicts, matched by (type, id). IDs like default-body are valid — not every conflict id is an ObjectId.
Response
Branch update task accepted
taskId
status
Task state at enqueue time (typically queued).
nextActions
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error