discard_workflow_draft
Reset a workflow by discarding its uncommitted draft edits, reverting to the last published state. Fails if the workflow has never been published.
Instructions
Discard uncommitted draft edits on a workflow, resetting it to its last published state. Fails if it has never been published — there is no published state to fall back to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The workflow's id. |