---
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}`

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.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)
