---
title: "Enable vulnerability alerts"
method: PUT
path: "/repos/{owner}/{repo}/vulnerability-alerts"
tags: ["repos"]
---

# Enable vulnerability alerts

`PUT /repos/{owner}/{repo}/vulnerability-alerts`

Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see "[About security alerts for vulnerable dependencies](https://docs.github.com/enterprise-cloud@latest/articles/about-security-alerts-for-vulnerable-dependencies)".

## Path parameters

- `owner` string, required
- `repo` string, required

## Response `204`

Response

---

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