Skip to main content

Interface: EditRevisionAsDraftRequest

Defined in: packages/sdk/src/types/generated/workflow.ts:82

Request body for POST /workflows/{workflow_id}/revisions/{revision_id}/edit.

Branches a published revision into the workflow's draft: the draft becomes a fresh clone of the named published revision. When the current draft already has unpublished changes, pass discardDraftChanges=True to replace it; otherwise the request is rejected so edits are not silently discarded.

Properties

discardDraftChanges?

optional discardDraftChanges: boolean

Defined in: packages/sdk/src/types/generated/workflow.ts:83