workflow-editor

Undo Draft

Undo the last change to a workflow draft.

Returns the restored YAML content and the undone YAML (for redo on frontend).

post/v3/workflow-editor/drafts/{workflow_id}/undo

Request

  • Base URL
    https://api.mentium.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

workflow_idstring uuid required

Headers

mentium-workspace-idstring nullable

Response

Successful Response

draft_idstring required
yaml_contentstring required

Restored YAML content

undone_yamlstring required

The YAML that was undone (for redo)

can_undoboolean required

Whether more undos are available

Changes

No recorded changes to this operation across all 2 revisions of this API.