v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
dependabot

Cancel a dismissal request for a Dependabot alert for a repository

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.

delete/repos/{owner}/{repo}/dismissal-requests/dependabot/{alert_number}

Path parameters

ownerstring required

The account owner of the repository. The name is not case sensitive.

repostring required

The name of the repository without the .git extension. The name is not case sensitive.

alert_numberinteger required

The number that identifies the Dependabot alert.

Response

Dismissal request cancelled successfully.