Update agent branch

Update agent branch properties such as archiving status and protection level

Parámetros de ruta

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

Encabezados

xi-api-keystringOpcional

Solicitud

This endpoint expects an object.
namestringOpcional1-140 characters
New name for the branch. Must be unique within the agent.
is_archivedbooleanOpcional
Whether the branch should be archived
protection_statusenumOpcionalValor predeterminado: writer_perms_required
The protection level for the branch
Valores permitidos:

Respuesta

Successful Response
idstring
namestring
agent_idstring
descriptionstring
created_atinteger
last_committed_atinteger
is_archivedboolean
protection_statusenumOpcionalValor predeterminado: writer_perms_required
Valores permitidos:
access_infoobjectOpcional
Access information for the branch
current_live_percentagedoubleOpcionalValor predeterminado: 0
Percentage of traffic live on the branch
parent_branchobjectOpcional
Parent branch of the branch
most_recent_versionslist of objectsOpcional
Most recent versions on the branch

Errores

422
Branches Update Request Unprocessable Entity Error