Update agent branch

Update agent branch properties such as archiving status and protection level

Paramètres de chemin

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

En-têtes

xi-api-keystringOptionnel

Requête

This endpoint expects an object.
namestringOptionnel1-140 characters
New name for the branch. Must be unique within the agent.
is_archivedbooleanOptionnel
Whether the branch should be archived
protection_statusenumOptionnelPar défaut writer_perms_required
The protection level for the branch
Valeurs autorisées:

Réponse

Successful Response
idstring
namestring
agent_idstring
descriptionstring
created_atinteger
last_committed_atinteger
is_archivedboolean
protection_statusenumOptionnelPar défaut writer_perms_required
Valeurs autorisées:
access_infoobjectOptionnel
Access information for the branch
current_live_percentagedoubleOptionnelPar défaut 0
Percentage of traffic live on the branch
parent_branchobjectOptionnel
Parent branch of the branch
most_recent_versionslist of objectsOptionnel
Most recent versions on the branch

Erreurs

422
Branches Update Request Unprocessable Entity Error