Skip to main content

Rename, redescribe or move a workflow template group (JSON Merge Patch).

PATCH/api/v1/workflow-template-groups/{workflow_template_group_id}workflow_setup:write

Only the members sent change. A group cannot be moved under itself or one of its own subgroups; a new parent must be a group the caller sees. If-Match is honoured.

Scopeworkflow_setup:write
AsynchronousNo
MCP toolupdate_workflow_template_group
Portal permissionsedit_workflow_template_groups

Parameters​

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

Request body​

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

Responses​

StatusDescriptionBody
200Success.application/json WorkflowTemplateGroup 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
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​

WorkflowTemplateGroup​

FieldTypeRequiredDescription
descriptionstring or nullRequiredThe group's description; null when it has none.
namestringRequired
parent_workflow_template_group_idstring or nullRequiredThe group this one sits under; null at the top level.
workflow_template_group_idstringRequired

WorkflowTemplateGroupPatchInput​

FieldTypeRequiredDescription
descriptionstring or nullOptional
namestring or nullOptional
parent_workflow_template_group_idstring or nullOptional
workflow_template_group_idstring or nullOptional