Update a workflow
PATCH/v1/projects/:project_id/workflows/:workflow_id
Updates a workflow definition. Structural changes (states/transitions) are re-validated. Existing tasks in a removed state stay put but can only leave via transitions valid in the new definition.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
Workflow updated
Bad request (invalid definition)
Unauthorized
Forbidden
Workflow not found
The resource has moved past the version this write read (VERSION_CONFLICT): a stated expected_version or If-Match no longer matches, or a concurrent write took the version first. meta.current_version names the version in force. Nothing is written.