---
title: "DELETE Delete attachment from task item"
description: "Delete a file attachment for a task item (removes from S3 and database)"
last_updated: "2026-05-06T07:33:53.132645+00:00"
canonical_url: "https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/api/task-management/taskmanagementcontroller-deletetaskitemattachment"
---

<APIEndpoint
  method={"DELETE"}
  path={"/task-management/attachments/:attachmentId"}
  summary={"Delete attachment from task item"}
  description={"Delete a file attachment for a task item (removes from S3 and database)"}
  deprecated={false}
  baseUrl={""}
/>

## Parameters

<APIParameters parameters={[{"name":"attachmentId","in":"path","required":true,"description":"Attachment ID","schema":{"type":"string"}},{"name":"X-Organization-Id","in":"header","required":false,"description":"Organization ID (required for session auth, optional for API key auth)","schema":{"type":"string"}}]} />

## Responses

<APIResponse
  statusCode={"204"}
  description={"Attachment deleted successfully"}
/>

## Try It

<APIPlayground
  method={"DELETE"}
  path={"/task-management/attachments/:attachmentId"}
  parameters={[{"name":"attachmentId","in":"path","required":true,"description":"Attachment ID","schema":{"type":"string"}},{"name":"X-Organization-Id","in":"header","required":false,"description":"Organization ID (required for session auth, optional for API key auth)","schema":{"type":"string"}}]}
  baseUrl={""}
/>


## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/llms.txt) for all pages in this wiki.
