---
title: "Delete a Workflow attachment."
method: POST
path: "/api/DeleteAttachment"
tags: ["Workflows"]
---

# Delete a Workflow attachment.

`POST /api/DeleteAttachment`

## Headers

- `Authorization` string, required
- `UserName` string

## Request body

- EmsignerAPIBusinessObjectDeleteAttachmentInput — To remove attachment pass of the parameter.
  - `DocumentID` integer — ID of the attachment(fetched using GetWorkflowAttachments).
  - `WorkflowID` integer — WorkflowID of the attachment(fetched using GetAllDocuments. <br /> It will delete all the attachments linked with the workflow.
  - `ReferenceNo` string — ReferenceNo of the workflow attachment(fetched using GetAllDocuments). <br /> It will delete all the attachments linked with the workflow.

## Response `200`

OK

- EMDMSHelperReturnObjectSystemInt64
  - `IsSuccess` boolean
  - `Messages` string[]
  - `ErrorCode` integer
  - `Response` integer

---

[API](https://skmtc.dev/emsigner/apis/emsignerapi.md) · [All operations](https://skmtc.dev/emsigner/apis/emsignerapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/emsigner/emsignerapi/revisions/7d5d55e0d91d/schema)
