Skip to content

stackblaze destroy

Deletes every resource declared in the manifests: apps first, then pipelines. Lists what will be deleted and asks you to type yes unless -y.

stackblaze destroy <path> [-y] [-o text|json]
Flag Description
-y, --yes Do not prompt

Also accepts --token, --api-url, -o, --output and --json (see common flags).

The manifest format is the one stackblaze export writes: YAML documents of kind: KuberoPipeline or kind: KuberoApp. App documents need metadata.pipeline and metadata.phase. A path can be a file or a directory (all .yaml / .yml files, recursively). This is separate from the stackblaze.yaml config as code file.

Infrastructure as Code must be enabled; check with stackblaze status.

Exits 1 if any deletion failed. In scripts, always pass -y.