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

# astro deployment bundle delete

> Delete a Dag or non-Dag bundle from an Astro Deployment.

<Info>
  This feature is in [Public Preview](/docs/astro/feature-previews).
</Info>

<Info>
  This command is only available on Astro.
</Info>

Delete a Dag bundle or non-Dag bundle from an Astro Deployment. Identify the bundle by its ID argument, its Dag bundle `--name`, or its non-Dag `--mount-path`.

## Usage

```sh wrap theme={null}
astro deployment bundle delete <bundle-id>
```

## Options

| Option | Description | Possible Values |
| - | - | - |
| `<bundle-id>` | The ID of the bundle to delete. Alternative to `--name` or `--mount-path`. | Any valid bundle ID |
| `--deployment-id` | The Deployment whose bundle you want to delete. Required. | Any valid Deployment ID |
| `--name` | Identify the Dag bundle to delete by name, instead of by ID. | Any Dag bundle name |
| `--mount-path` | Identify the non-Dag bundle to delete by mount path, instead of by ID. | Any valid absolute path |
| `-f`, `--force` | Delete the bundle without a confirmation prompt. | None |
| `--workspace-id` | Delete a bundle from a Deployment that is not in your current Workspace. | Any valid Workspace ID |

## Examples

```sh wrap theme={null}
# Delete a bundle identified by ID
astro deployment bundle delete <bundle-id> --deployment-id <deployment-id>

# Identify a Dag bundle by name
astro deployment bundle delete --deployment-id <deployment-id> --name finance

# Identify a non-Dag bundle by mount path
astro deployment bundle delete --deployment-id <deployment-id> --mount-path /usr/local/airflow/dbt/revenue
```

## Related commands

* [`astro deployment bundle create`](/docs/cli/v1.46/astro-deployment-bundle-create)
* [`astro deployment bundle list`](/docs/cli/v1.46/astro-deployment-bundle-list)
* [`astro deployment bundle update`](/docs/cli/v1.46/astro-deployment-bundle-update)
