Skip to main content

Update a Calculate Routing config (JSON Merge Patch).

PATCH/api/v1/routing-configs/{routing_config_id}workflow_setup:write

Only the members sent change; a changed config is checked again against the tenant. If-Match compares the config's stored columns; the ETag comes from the create and update answers.

Scopeworkflow_setup:write
AsynchronousNo
MCP toolupdate_routing_config
Portal permissionsedit_workflow_routing_configs

Parameters​

NameInTypeRequiredDescription
routing_config_idpathstringRequired
Docwize-Versionheaderstring (date)Optional
If-MatchheaderstringOptional

Request body​

Content typeType
application/jsonRoutingConfigPatchInput
application/merge-patch+jsonRoutingConfigPatchInput

Responses​

StatusDescriptionBody
200Success.application/json RoutingConfig or object
400invalid_version, malformed_jsonapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
409conflictapplication/problem+json Problem
412precondition_failedapplication/problem+json Problem
413payload_too_largeapplication/problem+json Problem
415unsupported_media_typeapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

RoutingConfig​

FieldTypeRequiredDescription
configobject or nullRequiredThe Calculate Routing config (format calculate_routing_config, version 1); null when the stored config cannot run, and in a list for a caller without View Workflow Routing Configs.
namestringRequired
routing_config_idstringRequired

RoutingConfigPatchInput​

FieldTypeRequiredDescription
configobject or nullOptional
namestring or nullOptional
routing_config_idstring or nullOptional