Skip to main content
PATCH
Error

Authorizations

X-API-Key
string
header
required

Headers

customer
string
required

Workspace identifier

Body

application/json
allow_merge_override
boolean
changed_item_review_enabled
boolean
changed_item_review_fields
string[]
merge_override_role
enum<string>
Available options:
admins,
admins_and_parent_branch_owners
min_approvals
number
Required range: 1 <= x <= 20
min_approvals_enabled
boolean

Response

200 - application/json
allow_merge_override
boolean
required

Whether anyone may force a merge past the review requirements with an audited reason.

changed_item_review_enabled
boolean
required

Whether "Every changed item has been reviewed by its " is switched on.

changed_item_review_fields
string[]
required

Display names of user fields, matched on every item type. A changed item is satisfied once one person those fields name on it has approved.

merge_override_role
enum<string>
required
Available options:
admins,
admins_and_parent_branch_owners
min_approvals
number
required

Distinct approvals a branch needs before it can merge, the author included. Kept while the rule is off.

min_approvals_enabled
boolean
required

Whether "Require approval from at least n people" is switched on.