Skip to main content
The REST API is now versioned. For more information, see "About API versioning."

REST API endpoints for push protection bypass requests

Use the REST API to manage push protection bypass requests for secret scanning.

List bypass requests for secret scanning for an enterprise

List requests to bypass secret scanning push protection in an enterprise.

Delegated bypass must be enabled on repositories in the enterprise 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.

Fine-grained access tokens for "List bypass requests for secret scanning for an enterprise"

This endpoint does not work with GitHub App user access tokens, GitHub App installation access tokens, or fine-grained personal access tokens.

Parameters for "List bypass requests for secret scanning for an enterprise"

Headers
Name, Type, Description
accept string

Setting to application/vnd.github+json is recommended.

Path parameters
Name, Type, Description
enterprise string Required

The slug version of the enterprise name.

Query parameters