> ## Documentation Index
> Fetch the complete documentation index at: https://support.entegrata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Deleting Pipelines

> How to safely delete pipelines and understand the impact

## Overview

Deleting a pipeline permanently removes it from your instance, including all data type mappings, execution history, and configuration. This operation cannot be undone, so it's important to understand the implications before proceeding.

<Warning>
  Pipeline deletion is permanent and irreversible. Ensure you have backups or duplicates if you might need the configuration later.
</Warning>

## When to Delete a Pipeline

Consider deleting pipelines in these situations:

### Pipeline No Longer Needed

* Business process has changed and data is no longer required
* Data source has been decommissioned
* Pipeline was replaced by a newer version
* Testing or development pipeline that served its purpose

### Duplicate or Incorrect Pipeline

* Pipeline was created by mistake
* Duplicate exists that serves the same purpose
* Name or configuration is incorrect and easier to recreate than fix

### Cleanup and Organization

* Removing old test pipelines
* Consolidating redundant pipelines
* Decluttering pipeline list for better management

<Note>
  Before deleting a production pipeline, consider pausing it first and monitoring for a period to ensure it's truly not needed.
</Note>

## What Gets Deleted

When you delete a pipeline, the following are permanently removed:

* **Pipeline Configuration** - Name, description, trigger settings, and metadata
* **Data Type Mappings** - All configured data type relationships
* **Field Mappings** - All source-to-target field mapping configurations
* **Data Sources** - Primary and related source configurations
* **Transformation Logic** - COALESCE, CONCAT, CASE expressions, and custom SQL
* **Execution History** - All past run logs and status information
* **Deployment** - DLT scripts are removed from warehouse

## What Is NOT Deleted

Deleting a pipeline does NOT remove:

* **Data in Warehouse** - Already-processed data remains in your data warehouse tables
* **Data Types (Entities)** - The data type definitions remain available for other pipelines
* **Source Systems** - Collector connections and source data are unaffected
* **Other Pipelines** - No impact on other pipelines, even if they use similar data types

<Info>
  Deleting a pipeline removes the processing logic but preserves the data that was already created. You may need to manually clean up warehouse tables if desired.
</Info>

## Deleting a Pipeline

<Steps>
  <Step title="Navigate to Pipeline List">
    Log in to the [Entegrata Admin Portal](https://admin.entegrata.com) and go to the **Pipelines** tab.
  </Step>

  <Step title="Locate the Pipeline">
    Find the pipeline you want to delete using the search bar or by browsing the list.

    <Tip>
      Double-check you've selected the correct pipeline. Pipeline names may be similar, especially test vs. production versions.
    </Tip>

    <Frame>
      <img src="https://mintcdn.com/entegrata/oGBkzmUVsm2CIeON/images/pipelines/pipeline_list_view.png?fit=max&auto=format&n=oGBkzmUVsm2CIeON&q=85&s=c2a52d0c157eb03ce841326683e3ed80" alt="Pipeline list with target pipeline" width="2214" height="396" data-path="images/pipelines/pipeline_list_view.png" />
    </Frame>
  </Step>

  <Step title="Verify Pipeline Can Be Deleted">
    Before proceeding, verify:

    * This is the correct pipeline (check name and description carefully)
    * No active jobs are running
    * Dependencies on this pipeline's data are understood
    * Stakeholders have been notified if needed
    * You have a backup or duplicate if you might need it later

    <Warning>
      If the pipeline is currently running, wait for execution to complete before deleting.
    </Warning>
  </Step>

  <Step title="Open Actions Menu">
    Click the three-dot menu (⋮) in the Actions column for the pipeline you want to delete.

    <Frame>
      <img src="https://mintcdn.com/entegrata/sWO-t3fu8JP8xl73/images/pipelines/pipeline_list_row_options.png?fit=max&auto=format&n=sWO-t3fu8JP8xl73&q=85&s=dafdee9df07abc831baec79f1f4a8484" alt="Pipeline actions menu" width="1200" height="748" data-path="images/pipelines/pipeline_list_row_options.png" />
    </Frame>
  </Step>

  <Step title="Select Delete">
    From the actions menu, click **Delete** to open the deletion confirmation dialog.

    <Frame>
      <img src="https://mintcdn.com/entegrata/sWO-t3fu8JP8xl73/images/pipelines/pipeline_list_delete_option.png?fit=max&auto=format&n=sWO-t3fu8JP8xl73&q=85&s=55e7a414a7be74ac88185ded8c47ca0b" alt="Delete option in actions menu" width="2748" height="514" data-path="images/pipelines/pipeline_list_delete_option.png" />
    </Frame>
  </Step>

  <Step title="Review Deletion Warning">
    The confirmation dialog displays:

    * Pipeline name being deleted
    * Warning that deletion is permanent
    * Information about what will be removed
    * Option to proceed or cancel

    <Warning>
      Read the confirmation dialog carefully. Ensure you understand what will be deleted and that you're deleting the correct pipeline.
    </Warning>

    <Frame>
      <img src="https://mintcdn.com/entegrata/FZ7uPvdDC2XYN2d6/images/pipelines/delete_pipeline_confirm_modal.png?fit=max&auto=format&n=FZ7uPvdDC2XYN2d6&q=85&s=3df4fa91356c510b98a951f1eccf7985" alt="Delete confirmation dialog" width="1626" height="662" data-path="images/pipelines/delete_pipeline_confirm_modal.png" />
    </Frame>
  </Step>

  <Step title="Confirm Deletion">
    If you're certain you want to delete the pipeline, click **Delete Pipeline** in the confirmation dialog.

    The deletion process begins and completes within a few seconds.
  </Step>

  <Step title="Verify Deletion">
    After successful deletion:

    * Success confirmation message appears
    * Pipeline is immediately removed from the pipeline list
    * Pipeline no longer appears in search results
    * Associated DLT scripts are removed from warehouse
  </Step>

  <Step title="Clean Up Warehouse Tables (Optional)">
    If desired, manually remove warehouse tables that were populated by the deleted pipeline:

    1. Connect to your data warehouse
    2. Identify tables created by the pipeline (usually named after data types)
    3. Drop or archive tables as needed
    4. Update any downstream dependencies

    <Note>
      This is optional. Leaving tables in place won't cause issues but may consume storage space.
    </Note>
  </Step>
</Steps>

## Deletion Best Practices

<Tip>
  **Create a Backup First**

  Before deleting any pipeline:

  1. Duplicate the pipeline with a name like "{Name} - Archive {Date}"
  2. Update the duplicate's description to note it's a backup
  3. Pause the backup so it doesn't run
  4. Delete the original
  5. Keep the backup for 30-90 days before deleting it

  This provides a safety net if you need to recover the configuration.
</Tip>

<Tip>
  **Document Why You're Deleting**

  Before deletion, document:

  * Why the pipeline is being deleted
  * What data it was processing
  * When it was last used
  * Who approved the deletion
  * Alternative solutions if the data is needed again

  Keep this documentation in your team wiki or ticketing system.
</Tip>

<Tip>
  **Communicate with Stakeholders**

  Before deleting production pipelines:

  * Notify anyone who consumes the pipeline's data
  * Provide advance notice (e.g., "Pipeline will be deleted in 1 week")
  * Offer alternatives or migration paths
  * Confirm no one objects to deletion

  This prevents surprises and broken dependencies.
</Tip>

<Tip>
  **Pause Before Deleting**

  For production pipelines:

  1. Pause the pipeline (don't delete immediately)
  2. Wait 1-2 weeks
  3. Monitor for complaints or issues
  4. If no problems arise, proceed with deletion

  This catches unexpected dependencies before permanent deletion.
</Tip>

<Tip>
  **Delete Test Pipelines Regularly**

  Schedule regular cleanup of test/development pipelines:

  * Monthly review of all Draft or Paused pipelines
  * Delete pipelines unused for 30+ days
  * Remove duplicate or failed test pipelines
  * Keep pipeline list focused on active work

  This maintains a clean, manageable pipeline list.
</Tip>

## Alternative to Deletion

Instead of deleting, consider these alternatives:

### Pause the Pipeline

If you're unsure about deleting:

* Pause the pipeline to stop automatic execution
* Keep configuration for future reference
* Can be reactivated if needed
* No permanent data loss

<CardGroup cols={1}>
  <Card title="Managing Pipeline Status" icon="toggle-on" href="/data/pipeline/managing-pipeline-status">
    Learn how to pause pipelines instead of deleting
  </Card>
</CardGroup>

### Archive with Naming

Rename the pipeline to indicate it's archived:

* Prefix name with "ARCHIVED - "
* Add archive date to description
* Pause to prevent execution
* Keeps configuration accessible

**Example:** "ARCHIVED - Legacy Client Pipeline (Archived 2024-10-02)"

### Duplicate for Backup

Create an archive duplicate before deleting:

* Duplicate the pipeline
* Name it clearly as a backup
* Pause the duplicate
* Delete the original
* Keep backup for a defined period (30-90 days)

## Impact of Deletion

Understanding the impact helps avoid surprises:

### No Impact On

* **Other Pipelines** - Deletion doesn't affect other pipelines
* **Data Types** - Entity definitions remain available
* **Existing Data** - Data already in warehouse is unaffected
* **Source Systems** - Collector connections unchanged
* **User Permissions** - Access controls remain the same

### Impacts

* **Cannot Run** - Pipeline can no longer execute
* **Configuration Lost** - Mapping logic is permanently deleted
* **History Gone** - Execution logs and history are removed
* **Scripts Removed** - DLT scripts deleted from warehouse
* **Reports May Break** - If reports depend on real-time data from this pipeline

<Warning>
  If downstream reports or dashboards depend on data from this pipeline, they may show stale data after deletion (data stops updating). Update or disable affected reports.
</Warning>

## Recovery After Accidental Deletion

If you accidentally delete a pipeline:

### Immediate Steps

1. **Don't panic** - The data in your warehouse is still there
2. **Check for backups** - Look for duplicate pipelines that might be backups
3. **Review documentation** - Check if mapping logic was documented elsewhere
4. **Contact team** - See if anyone else has a copy or remembers the configuration

### Recreation Options

If no backup exists:

1. **Recreate from memory** - If recently worked with the pipeline
2. **Reverse engineer** - Examine existing warehouse data and infer mappings
3. **Contact support** - Entegrata support may have backup capabilities
4. **Restore from source control** - If pipeline configuration was versioned externally

<Note>
  Entegrata does not provide built-in "undo" for pipeline deletion. Prevention through duplication and pausing is the best strategy.
</Note>

## Troubleshooting Deletion

### Can't Delete Pipeline

**Problem:** Delete option is not available or disabled.

**Solutions:**

* Verify you have delete permissions
* Check if pipeline is currently running (wait for completion)
* Ensure you're viewing the pipeline list (not inside pipeline editor)
* Try refreshing the page

### Deletion Fails with Error

**Problem:** Error message when attempting to delete.

**Solutions:**

* Verify no jobs are currently running
* Check if pipeline has active locks or dependencies
* Try pausing first, then deleting
* Contact support if error persists

### Pipeline Still Appears After Deletion

**Problem:** Pipeline shows in list after deletion confirmation.

**Solutions:**

* Refresh the page to update the list
* Clear browser cache
* Check if you're viewing a cached or filtered view
* Verify deletion actually completed (check for error messages)

### Deleted Wrong Pipeline

**Problem:** Accidentally deleted the wrong pipeline.

**Solutions:**

* Check if a duplicate or backup exists
* Review team documentation for mapping details
* Contact Entegrata support immediately for recovery options
* Recreate pipeline from available documentation
* Learn from mistake: always duplicate before deleting

## Deletion Checklist

Before deleting any pipeline, use this checklist:

* [ ] Verified this is the correct pipeline (checked name and description)
* [ ] Confirmed pipeline is no longer needed
* [ ] Notified stakeholders who consume this pipeline's data
* [ ] Checked for downstream dependencies (reports, dashboards, other pipelines)
* [ ] Created a duplicate backup if there's any uncertainty
* [ ] Documented reason for deletion
* [ ] Obtained necessary approvals (if required by organization)
* [ ] Pipeline is not currently running
* [ ] Reviewed warehouse table cleanup requirements
* [ ] Scheduled follow-up to clean up warehouse tables (if needed)

## Related Topics

<CardGroup cols={2}>
  <Card title="Duplicating Pipelines" icon="copy" href="/data/pipeline/duplicating-pipelines">
    Create backups before deleting
  </Card>

  <Card title="Managing Status" icon="toggle-on" href="/data/pipeline/managing-pipeline-status">
    Pause as an alternative to deletion
  </Card>

  <Card title="Creating Pipelines" icon="plus" href="/data/pipeline/creating-pipelines">
    Recreate deleted pipelines
  </Card>

  <Card title="Pipeline Management" icon="list-check" href="/data/pipeline/overview">
    Back to pipeline management overview
  </Card>
</CardGroup>
