Replace user-defined fields on a facility workflow
PUT/facility-credentialing-workflows/:workflowId/userdefinedfields
Replaces the entire userDefinedFields object on the specified facility credentialing workflow with the object provided in the request body (replace-all / RESTful PUT semantics). When to use: Use to set or update custom metadata for a workflow. Omitting a key removes it. To clear all user-defined fields, send an empty object {}. Constraints: This field cannot be modified once the workflow reaches a completed or invalid status — a 400 Bad Request is returned in that case (WorkflowCompletedException or WorkflowStatusInvalidException). Schema: Returns: 200 OK. Returns 400 if the workflow is in a terminal status or if the input is otherwise invalid.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
User defined fields updated successfully
Bad request - Invalid input or validation error
Unauthorized - Authentication required
Forbidden - Insufficient permissions
Facility credentialing workflow not found
Internal server error