Dismiss branch approval

http
POST /projects/{project_reference}/branches/{branch_id}/approvals/{approval_id}/dismiss

Dismiss an approval so it no longer counts, keeping its record with the reason. Requires project.files.write; API keys also need delete scope.

Parameters

NameInRequiredDescription
project_referencepathYesProject slug, UUID, or domain that identifies the project.
branch_idpathYes
approval_idpathYesApproval ID to soft-dismiss. The audit row is retained; the approval no longer counts toward merge eligibility.

Request body

FieldTypeRequiredDescription
reasonstringReason for the dismissal.

Responses

StatusDescription
200Approval dismissed. Its record is kept with the dismissal fields.
400Bad request
401Unauthorized
403Forbidden. API keys also require delete scope.
404Not found
413Payload too large
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.