---
title: "Review a dismissal request for a Dependabot alert for a repository"
method: PATCH
path: "/repos/{owner}/{repo}/dismissal-requests/dependabot/{alert_number}"
tags: ["dependabot"]
---

# Review a dismissal request for a Dependabot alert for a repository

`PATCH /repos/{owner}/{repo}/dismissal-requests/dependabot/{alert_number}`

Approve or deny a dismissal request to dismiss a Dependabot alert in a repository.

Delegated alert dismissal must be enabled on the repository and the user must be a dismissal reviewer to access this endpoint.
OAuth app tokens and personal access tokens (classic) need the `security_events` scope to use this endpoint.

## Path parameters

- `owner` string, required
- `repo` string, required
- `alert_number` integer, required

## Request body

- object
  - `status` 'approve' | 'deny', required — The review action to perform on the dismissal request.
  - `message` string, required — A message to include with the review. Has a maximum character length of 2048.

## Response `200`

The review of the dismissal request.

- object
  - `dismissal_review_id` integer — ID of the dismissal review.

## Other responses

- `403` — Forbidden
- `404` — Resource not found
- `422` — Validation failed, or the endpoint has been spammed.
- `500` — Internal Error

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-3.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-3/versions/dc0584ac4e13/schema)
