# PUT /repos/{owner}/{repo}/private-vulnerability-reporting

**Resource:** [repos](../resources/repos.md)
**Enable private vulnerability reporting for a repository**
**Operation ID:** `repos/enable-private-vulnerability-reporting`

Enables 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](https://docs.github.com/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability)."

## Responses

| Status | Description |
|--------|-------------|
| 204 | (reference) |
| 422 | (reference) |

