---
title: "Delete a file attachment from a credentialing workflow"
method: DELETE
path: "/credentialing-workflows/{workflowId}/attachments"
tags: ["CredentialingWorkflow"]
---

# Delete a file attachment from a credentialing workflow

`DELETE /credentialing-workflows/{workflowId}/attachments`

Deletes an attachment from the credentialing workflow identified by `workflowId`. The request body must identify the attachment via `id` (the row/record identifier) and `fileUrl` (the storage URL of the file). Requires the `tenant-id` header. Returns 200 with the deletion result on success.

## Path parameters

- `workflowId` string, required

## Headers

- `tenant-id` string, required

## Request body

- DeleteAttachmentRequest — Request to delete an attachment
  - `id` string, required — Row identifier
  - `fileUrl` string, required — File URL to identify the attachment for deletion

## Response `200`

Attachment deleted successfully

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.net/certifyos/apis/certify-api-layer.md) · [All operations](https://skmtc.net/certifyos/apis/certify-api-layer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/certifyos/certify-api-layer/revisions/563848e0ecc0/schema)
