Replace all emails on a facility workflow
PUT/facility-credentialing-workflows/:workflowId/emails
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.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Emails updated successfully
Bad request - Invalid input or validation error
Unauthorized - Authentication required
Forbidden - Insufficient permissions
Not found - Workflow not found
Internal server error