---
title: "Update facility certificates"
method: PUT
path: "/facility-credentialing-workflows/{workflowId}/certificates"
tags: ["FacilityCredentialingWorkflow"]
---

# Update facility certificates

`PUT /facility-credentialing-workflows/{workflowId}/certificates`

Replace all certificates for a facility credentialing workflow

## Path parameters

- `workflowId` string, required

## Headers

- `tenant-id` string, required

## Request body

- FacilityCertificateUpdateRequest[]
  - `certificateId` string — The certificate ID
  - `certificateType` string, required — The type of certificate
  - `durationType` string — The duration type
  - `expirationDate` string — The expiration date of the certificate
  - `issueDate` string — The issue date of the certificate
  - `speciality` string — The specialty associated with the certificate
  - `subspeciality` string — The subspecialty associated with the certificate
  - `moc` string — Maintenance of Certification status
  - `status` string — The status of the certificate
  - `occurrenceType` string — The occurrence type
  - `recordType` string — The record type
  - `number` string, required — The certificate number
  - `source` string, required — The source of the certificate
  - `createdAt` string — The date the record was created
  - `createdBy` string — The user who created the record
  - `updatedAt` string — The date the record was last updated
  - `updatedBy` string — The user who last updated the record
  - `attachments` FacilityCredentialingWorkflowAttachment[] — Supporting documents for the certificate
    - `createdAt` string — The date the attachment was created
    - `fileType` string, required — Supporting Document File Type (i.e. Malpractice Insurance Policy, License, etc.)
    - `fileUrl` string, required — Supporting Document File URI in GCS
    - `originalFileName` string, required — Supporting Document Original File Name
    - `state` string — The state associated with the supporting document
    - `expirationDate` string — The expiration date of the supporting document
    - `source` string — The source of the supporting document
    - `createdBy` string — The user who created the record
    - `updatedAt` string — The date the attachment was last updated
    - `updatedBy` string — The user who last updated the record
  - `verifiedDate` string — The date the certificate was verified
  - `verifiedBy` string — The user who verified the certificate

## Response `200`

Certificates updated successfully

## Other responses

- `400` — Invalid request
- `404` — Workflow not found

---

[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/versions/3d27e9019c7b/schema)
