latestOpenAPI 3.1.02026-08-194237902.5 MB

563848e0ecc0

FacilityCredentialingWorkflow

Replace all emails on a facility workflow

Replaces the entire email list for the specified facility credentialing workflow with the array provided in the request body (replace-all / desired-state semantics). When to use: Supply the complete desired final list of emails. Omitting an existing email removes it. To clear all emails, send an empty array []. Preconditions: The workflow must belong to the caller's tenant. Returns: 200 OK with the updated workflow. Returns 404 if the workflow is not found.

put/facility-credentialing-workflows/{workflowId}/emails

Path parameters

workflowIdstring required

Facility credentialing workflow ID

Headers

tenant-idstring required

Tenant ID

Request body

emailstring required

Email address

emailTypestring required

Type of email

sourcestring

Source of the email

createdAtstring date
createdBystring

The user who created the record

updatedAtstring date
updatedBystring

The user who last updated the record

Example request

[
  {
    "email": "facility@example.com",
    "emailType": "business",
    "source": "Manual Entry",
    "createdBy": "user@example.com",
    "updatedBy": "admin@example.com"
  }
]

Response

Emails updated successfully

object required