---
title: "Delete a task attachment"
method: DELETE
path: "/v1/tasks/{taskId}/attachments/{attachmentId}"
tags: ["Task Attachments"]
---

# Delete a task attachment

`DELETE /v1/tasks/{taskId}/attachments/{attachmentId}`

Delete the attachment and the stored file. This cannot be undone.

## Path parameters

- `taskId` integer, required
- `attachmentId` integer, required

## Headers

- `X-Org-Id` integer, required

## Response `204`

Attachment deleted successfully

## Changes

- **2026-08-19** `f1eea337ff61` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/astravue/apis/astravue-api/changes/v1/tasks/:taskId/attachments/:attachmentId/delete.md)

---

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