Delete branch policy

http
DELETE /projects/{project_reference}/branch-policies/{policy_id}

Delete a branch policy so it no longer blocks merges. Requires project.settings.manage; API keys also need delete scope.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
policy_idpathYes

Responses

StatusDescription
200Policy deleted.
400Bad request
401Unauthorized
403Forbidden. API keys also require delete scope.
404Not found
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.