Deleting Pipelines

Delete a pipeline that's in a Succeeded, Failed, or Canceled state.

Deleting a pipeline also deletes any associated pipeline jobs and job runs by default.

The deletion fails when associated pipeline runs in are progress, or if you don't have permission to delete pipelines.

After a pipeline is deleted, you can't do anything else with it and it can't be reactivated.


Deleted pipelines exist in lists for 30 days after being deleted. You can filter them out of lists by using the State filter.

    1. Use the Console to sign in to a tenancy with the necessary policies.
    2. Open the navigation menu and click Analytics & AI. Under Machine Learning, click Data Science.
    3. Select the compartment that contains the project with the pipeline.

      All projects in the compartment are listed.

    4. Click the name of the project.

      The project details page opens and lists the notebook sessions.

    5. Under Resources, click Pipelines.
    6. Click the name of a pipeline to delete.

      The pipeline details page is displayed including the steps.

    7. Click Delete.
    8. Enter the name of the pipeline that you want to delete exactly as it appears, and then click Delete.
    9. (Optional) Select Delete related pipeline runs to delete the pipeline runs and job runs or Delete related job runs to delete the job runs only.
    10. Click Delete.
    A notification is displayed indicating that the pipeline is deleted successfully.
  • Use the oci data-science pipeline delete command and required parameters to delete a pipeline:

    oci data-science pipeline delete --pipeline-id <pipeline-id>... [OPTIONS]

    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.

  • Use the DeletePipeline operation to delete the pipeline.