Replace Workflow Graph
Replace the entire editable draft graph after public policy validation.
PUT
/developer/v1/workflows/{definition_id}/graphAuthorizations
Authorizationstringheaderrequired
Send your GenHealth credential as Bearer <YOUR_API_KEY>. This endpoint requires workflow:write for the authenticated organization.
Headers
Acceptstringheader
Response media type. Use application/json for the current API.
Parameters
definition_idrequiredRequest body
Send an application/json request body. This body is required.
WorkflowGraphReplaceRequest
nodesarray<WorkflowNodeSchema>edgesarray<WorkflowEdgeSchema>Responses
WorkflowMutationResponse
successbooleanerrorstring | nullerror_categorystring | nullretryableboolean | nulldefinition_idstring | nullversion_idstring | nullnode_idstring | nullnode_namestring | nullHTTPValidationError
detailarray<ValidationError>