---
title: "Replace all supporting documents on a credentialing workflow"
method: PUT
path: "/credentialing-workflows/{workflowId}/supporting-documents"
tags: ["CredentialingWorkflow"]
---

# Replace all supporting documents on a credentialing workflow

`PUT /credentialing-workflows/{workflowId}/supporting-documents`

Replaces the entire supporting documents array on the credentialing workflow identified by `workflowId` with the provided list (full-replacement PUT semantics). Any document currently on the workflow that is not included in the request will be removed from the workflow record. Send an empty array (`[]`) to remove all supporting documents. To add a single new document without affecting existing ones, use `POST /credentialing-workflows/{workflowId}/supporting-documents`.

## Path parameters

- `workflowId` string, required

## Headers

- `tenant-id` string, required

## Request body

- SupportingDocumentUpdateRequest[]
  - `fileUrl` string, required — URL of the supporting document file
  - `fileType` string, required — Type of the supporting document
  - `originalFileName` string, required — Original name of the uploaded file
  - `createdAt` string, date
  - `createdBy` string — The user who created the record
  - `state` string — The state associated with the supporting document
  - `expirationDate` string, date
  - `source` string — The source of the supporting document
  - `artifactLinkId` string — System-managed identifier linking this entry to its corresponding row attachment(s). Read-only — supplied values on incoming requests are ignored.

## Response `200`

Supporting documents updated successfully

- object

## Other responses

- `400` — Bad request - Invalid input or validation error
- `401` — Unauthorized - Authentication required
- `403` — Forbidden - Insufficient permissions
- `404` — Credentialing workflow 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)
