Skip to main content
Version: v5.7.0

opschain admin workflows

Included from Basic tier

The destructive workflow verbs. Day-to-day workflow management lives under opschain workflows (opschain docs cli/workflows): archiving is the reversible soft-hide — the workflow disappears from new-run selection while every version, run and log survives — and unarchiving undoes it. This family holds the irreversible verb behind deliberate admin friction.

SubcommandPurpose
opschain docs cli/admin-workflows-destroyPermanently destroy an archived workflow: its versions and, with --with-runs, its runs, their steps and their logs. Events are never touched.

Destroying is a two-step operation: archive the workflow first (opschain workflows archive), then destroy it. The server refuses by name while runs reference the workflow (without --with-runs), while any run is still active, or while scheduled activities or triggers reference it — the automation plane is never cascaded into.

Every verb targets a server and authenticates as the ordinary user — there is no separate admin credential; the server checks read on the project plus the workflow path's deletable rule action (ordinary users keep archive, which rides the updatable action).

See also​

  • opschain docs cli/workflows — list, show, archive/unarchive, export/import.
  • opschain docs cli/admin-nodes — the node-subtree decommission lanes the same friction pattern comes from.