Skip to main content
DELETE
Delete an attachment
Write access: a member/administrator with a write-enabled credential, or an authorized signed-in user. Remove a task attachment and queue its private file for permanent deletion. Confirm with the user before deleting their work. Removes the attachment immediately and queues private object deletion with durable retries. There is no attachment trash or restore endpoint. MCP clients can use delete_attachment for this operation. Request conventions · API keys · MCP connections

Authorizations

Authorization
string
header
required

Personal or team Mill REST API key

Headers

Origin
string<uri>

The exact configured Mill UI origin. Required for browser mutations carrying session cookies.

Idempotency-Key
string

Reuse the same key and exact request bytes for retries of one logical mutation; different content conflicts.

Required string length: 8 - 128
Pattern: ^[A-Za-z0-9._:-]+$

Path Parameters

taskId
string<uuid>
required

The taskId from the corresponding list, record or authorization response.

attachmentId
string<uuid>
required

The attachmentId from the corresponding list, record or authorization response.

Response

Successful response. Examples are illustrative; field values vary by record.

Illustrative response shape. Fields can be absent in alternate successful flows; see the operation description and example.

ok
boolean