Update agent branch

Update agent branch properties such as archiving status and protection level

Pfadparameter

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

Header

xi-api-keystringOptional

Anfrage

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_statusenumOptionalStandardwert ist writer_perms_required
The protection level for the branch
Erlaubte Werte:

Antwort

Successful Response
idstring
namestring
agent_idstring
descriptionstring
created_atinteger
last_committed_atinteger
is_archivedboolean
protection_statusenumOptionalStandardwert ist writer_perms_required
Erlaubte Werte:
access_infoobjectOptional
Access information for the branch
current_live_percentagedoubleOptionalStandardwert ist 0
Percentage of traffic live on the branch
parent_branchobjectOptional
Parent branch of the branch
most_recent_versionslist of objectsOptional
Most recent versions on the branch

Fehler

422
Branches Update Request Unprocessable Entity Error