Sample - GitHub REST API
DELETE/repos/{owner}/{repo}/private-vulnerability-reporting

Disable private vulnerability reporting for a repository

Disables private vulnerability reporting for a repository. The authenticated user must have admin access to the repository. For more information, see "Privately reporting a security vulnerability".

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

2 parameters
ownerstringrequired
The account owner of the repository. The name is not case sensitive.
repostringrequired
The name of the repository without the `.git` extension. The name is not case sensitive.

2 status codes
204A header with no content is returned.
422Bad Request
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional

Error handling

A 422 is returned: Bad Request.