Merge agent branch

Merge a branch into a target branch

Path parameters

agent_idstringRequired
The id of an agent. This is returned on agent creation.
source_branch_idstringRequired
Unique identifier for the source branch to merge from.

Headers

xi-api-keystringOptional

Query parameters

target_branch_idstringRequired
The ID of the target branch to merge into.

Request

This endpoint expects an object.
archive_source_branchbooleanOptionalDefaults to true
Whether to archive the source branch after merging
forcebooleanOptionalDefaults to false

Force source branch changes onto the target, overriding timestamp-based conflict resolution

Response

Successful Response

Errors

422
Unprocessable Entity Error