# 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

| Name                | In   | Required | Description                                                                                                     |
| ------------------- | ---- | -------- | --------------------------------------------------------------------------------------------------------------- |
| `project_reference` | path | Yes      | Project slug, UUID, or domain that identifies the project.                                                      |
| `branch_id`         | path | Yes      |                                                                                                                 |
| `approval_id`       | path | Yes      | Approval ID to soft-dismiss. The audit row is retained; the approval no longer counts toward merge eligibility. |

## Request body

| Field    | Type   | Required | Description               |
| -------- | ------ | -------- | ------------------------- |
| `reason` | string |          | Reason for the dismissal. |

## Responses

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