Duplicate Workflow
POST
/workflow-definition-actions/duplicate/{workflowId}/Path parameters
workflowId- Identifier used by the registered route.
Example request
application/json{
"name": "Copied workflow",
"namespace": "copied"
}Handler-checked behavior
Send a non-empty new name; namespace is optional and otherwise inherited. The source workflow must exist. AkôFlow generates new workflow and activity IDs from the new name and returns the independent definition with 201 Created; an ID collision or invalid name returns 422.
Related guide
See the Workflows guide for related tasks and context.