Update agent branch

Update agent branch properties such as archiving status and protection level

パスパラメータ

agent_idstring必須
The id of an agent. This is returned on agent creation.
branch_idstring必須
Unique identifier for the branch.

ヘッダー

xi-api-keystringオプション

リクエスト

This endpoint expects an object.
namestringオプション1-140 characters
New name for the branch. Must be unique within the agent.
is_archivedbooleanオプション
Whether the branch should be archived
protection_statusenumオプションデフォルト値 writer_perms_required
The protection level for the branch
許可された値:

レスポンス

Successful Response
idstring
namestring
agent_idstring
descriptionstring
created_atinteger
last_committed_atinteger
is_archivedboolean
protection_statusenumオプションデフォルト値 writer_perms_required
許可された値:
access_infoobjectオプション
Access information for the branch
current_live_percentagedoubleオプションデフォルト値 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

エラー

422
Branches Update Request Unprocessable Entity Error