---
title: "Endpoint for deleting a vulnerability"
method: DELETE
path: "/api/cve/{vulnerability_id}"
tags: ["vulnerability"]
deprecated: true
---

# Endpoint for deleting a vulnerability

`DELETE /api/cve/{vulnerability_id}`

> **Deprecated.**

Alias for /api/vulnerability/<string:vulnerability_id
Delete a vulnerability from the local source.
We only accept to delete vulnerabilities from the local source.

## Response `204`

Success.

## Other responses

- `403` — Admin permission required.
- `422` — Not possible to edit a vulnerability from the requested source.

## Changes

- **2024-11-25** `1441221dfa02` — 4 info
  - api operation id `delete_vulnerability` removed and replaced with `delete_vulnerability_/api/cve/<string:vulnerability_id>`
  - api tag `vulnerability` added
  - api tag `api` removed
  - endpoint deprecated
- **2024-06-19** `6eadec396709` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/vulnerability-lookup/apis/vulnerability-lookup-api/changes/api/cve/:vulnerability_id/delete.md)

---

[API](https://skmtc.dev/vulnerability-lookup/apis/vulnerability-lookup-api.md) · [All operations](https://skmtc.dev/vulnerability-lookup/apis/vulnerability-lookup-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/vulnerability-lookup/vulnerability-lookup-api/revisions/1441221dfa02/schema)
