---
title: "Dismiss a response on a bypass request for secret scanning"
method: DELETE
path: "/repos/{owner}/{repo}/bypass-responses/secret-scanning/{bypass_response_id}"
tags: ["secret-scanning"]
---

# Dismiss a response on a bypass request for secret scanning

`DELETE /repos/{owner}/{repo}/bypass-responses/secret-scanning/{bypass_response_id}`

## Request

- Base URL: `https://api.github.com`
- URL: `https://api.github.com/repos/{owner}/{repo}/bypass-responses/secret-scanning/{bypass_response_id}`
- Auth: none declared

Dissmiss a response given to a bypass request for secret scanning push protection in a repository.

Delegated bypass must be enabled on the repository and the user must be a bypass reviewer to access this endpoint.
Personal access tokens (classic) need the `security_events` scope to use this endpoint.

## Path parameters

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

## Response `204`

Review was successfully dismissed.

## Other responses

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

---

[API](https://skmtc.dev/github/apis/enterprise-cloud.md) · [All operations](https://skmtc.dev/github/apis/enterprise-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/github/apis/enterprise-cloud/revisions/998ae512e4cd?raw)
