---
title: "Delete a file attachment from an alert"
method: DELETE
path: "/alerts/{id}/attachments/{attachment_id}"
tags: ["Alert Analysis"]
---

# Delete a file attachment from an alert

`DELETE /alerts/{id}/attachments/{attachment_id}`

## Request

- Base URL: `https://www.virustotal.com/api/v3/dtm`
- URL: `https://www.virustotal.com/api/v3/dtm/alerts/{id}/attachments/{attachment_id}`
- Auth: none required

## Path parameters

- `id` string, required
- `attachment_id` string, required

## Headers

- `x-apikey` string, required

## Response `204`

No Content

## Other responses

- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/virustotal/apis/dtm-digital-threat-monitoring.md) - [All operations](https://skmtc.dev/virustotal/apis/dtm-digital-threat-monitoring/llms.txt) - [OpenAPI document](https://skmtc.dev/virustotal/apis/dtm-digital-threat-monitoring/revisions/ba27db660651?raw)
