Update agent branch

Update agent branch properties such as archiving status and protection level

Path parameters

agent_idstringRequired
The id of an agent. This is returned on agent creation.
branch_idstringRequired
Unique identifier for the branch.

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
namestringOptional1-140 characters
New name for the branch. Must be unique within the agent.
is_archivedbooleanOptional
Whether the branch should be archived
protection_statusenumOptionalDefaults to writer_perms_required
The protection level for the branch
Allowed values:

Response

Successful Response
idstring
namestring
agent_idstring
descriptionstring
created_atinteger
last_committed_atinteger
is_archivedboolean
protection_statusenumDefaults to writer_perms_required
Allowed values:
access_infoobject
Access information for the branch
current_live_percentagedoubleDefaults to 0
Percentage of traffic live on the branch
parent_branchobject
Parent branch of the branch
most_recent_versionslist of objects
Most recent versions on the branch

Errors

422
Branches Update Request Unprocessable Entity Error