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

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

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

Cancels a pending dismissal request for a Dependabot alert in a repository.

The authenticated user must be the requester of the dismissal request or have reviewer permissions (security manager or organization owner).
Delegated alert dismissal must be enabled on the repository.
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

## Response `204`

Dismissal request cancelled successfully.

## Other responses

- `403` — Forbidden
- `404` — Resource not found
- `500` — Internal Error

---

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