Management

Update branch retention policy

Changed on

Update branch retention policy

put/branches/{branch_id}/retention_policy

Request

  • Base URL
    /bk/api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /bk/api/branches/{branch_id}/retention_policy
  • Auth
    HTTP bearer

Path parameters

branch_idinteger required

ID of branch

Request body

ci_logsinteger
dev_logsinteger
ci_artifactsinteger
dev_artifactsinteger

Response

Successfully created run

Changes