Deleting a pipeline

Learn how to delete pipelines.

Delete the latest version of a pipeline

zenml pipeline delete <PIPELINE_NAME>

from zenml.client import Client

Client().delete_pipeline(<PIPELINE_NAME>)

Delete a specific version of a pipeline

zenml pipeline delete <PIPELINE_NAME> --version=<VERSION_NAME>

from zenml.client import Client

Client().delete_pipeline(<PIPELINE_NAME>, version=<VERSION_NAME>)

Delete all versions of a pipeline

zenml pipeline delete <PIPELINE_NAME> --all-versions

from zenml.client import Client

Client().delete_pipeline(<PIPELINE_NAME>, all_versions=True)

Delete a pipeline run

Deleting a pipeline does not automatically delete any of its associated runs or artifacts. To delete a pipeline run, you can use the following command:

zenml pipeline runs delete <RUN_NAME_OR_ID>

from zenml.client import Client

Client().delete_pipeline_run(<RUN_NAME_OR_ID>)

PreviousSchedule a pipeline

NextTrigger a pipeline from another

Last updated 19 days ago