v56

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014121451.1 MB
Tasks

Delete task attachment

Delete task attachment in Comp AI. Manage compliance task lifecycle, assignments, review approvals, evidence uploads, policy links, and activity history.

delete/v1/tasks/{taskId}/attachments/{attachmentId}

Path parameters

taskIdstring required
Example:tsk_abc123def456

Unique task identifier

attachmentIdstring required
Example:att_abc123def456

Unique attachment identifier

Response

Attachment deleted successfully

successboolean
deletedAttachmentIdstring
messagestring

Example response

{
  "success": true,
  "deletedAttachmentId": "att_abc123def456",
  "message": "Attachment deleted successfully"
}