For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
      • AstroFully-managed data operations, powered by Apache Airflow.
      • Astro Private CloudRun Airflow-as-a-service in your environment.
      • Professional ServicesExpert Airflow services for your enterprise's success.
    • Tools
      • Cosmos
      • Orbiter
      • CLI
      • AI SDK
      • Agents
      • Blueprint
      • UpdatesThe State of Airflow 2026See the insights from over 5,800 data practitioners in the full report. Download Now ➔
  • Customers
  • Docs
    • Insights
      • Blog
      • Webinars
      • Resource Library
      • Events
    • Education
      • Academy
      • What is Airflow?
  • Pricing
Get Started Free
    • Astro CLI
    • Quickstart
    • CLI reference
      • astro completion
      • astro api
      • astro auth
      • astro config
      • astro context
      • astro dbt
        • astro dbt delete
        • astro dbt deploy
      • astro deploy
      • astro deployment
      • astro dev
      • astro ide
      • astro login
      • astro logout
      • astro organization
      • astro otto
      • astro remote
      • astro run
      • astro team
      • astro telemetry
      • astro user create
      • astro version
      • astro workspace

Product

  • Platform Overview
  • Astro
  • Astro Observe
  • Astro Private Cloud
  • Security & Trust
  • Pricing

Tools & Services

  • Cosmos
  • Docs
  • Professional Services
  • Product Updates

Use Cases

  • AI Ops
  • Data Observability
  • ETL/ELT
  • ML Ops
  • Operational Analytics
  • All Use Cases

Industries

  • Financial Services
  • Gaming
  • Retail
  • Manufacturing
  • Healthcare
  • All Industries

Resources

  • Academy
  • eBooks & Guides
  • Blog
  • Webinars
  • Events
  • The Data Flowcast Podcast
  • All Resources

Airflow

  • What is Airflow
  • Airflow on Astro
  • Airflow 3.0
  • Airflow Upgrades
  • Airflow Use Cases
  • Airflow 2.x End of Life

Company

  • Our Story
  • Customers
  • Newsroom
  • Careers
  • Contact

Support

  • Knowledge Base
  • Status
  • Contact Support
GitHubYouTubeLinkedInx
  • Legal
  • Privacy
  • Terms of Service
  • Consent Preferences

  • Do Not Sell or Share My Personal information
  • Limit the Use Of My Sensitive Personal Information

Apache Airflow®, Airflow, and the Airflow logo are trademarks of the Apache Software Foundation. Copyright © Astronomer 2026. All rights reserved.

LogoLogo
CLI referenceastro dbt

astro dbt delete

Edit this page
Built with
This command is only available on Astro.

Delete a dbt project from a Deployment on Astro. This command deletes a dbt project from the Airflow environments where you deployed it.

When you run astro dbt delete, you are prompted to select from a list of Deployments that you can access in your Workspace. You can bypass this prompt and specify a Deployment name or ID in the command. To retrieve a Deployment ID, open your Deployment in the Astro UI and copy the value in the ID section of the Deployment page. You can also run astro deployment list to find a Deployment ID or name.

To complete this action, Workspace Owner permissions are required.

Usage

$astro dbt delete <your-deployment-id> <options>

Options

OptionDescriptionPossible Values
-n, --deployment-nameName of the Deployment to delete your dbt project fromAny valid Deployment name
--descriptionDescription of the project to store on the deployString
-m, --mount-pathPath describing where the dbt project you want to delete is mounted in Airflow. Default path is /usr/local/airflow/dbt/<dbt-project-name>Any valid path except /usr/local/airflow/dags, which is used for dag deploys
-p, --project-pathPath to the dbt project that you want to delete. The default is your current directoryAny valid filepath to a dbt project
-w, --waitWait for the Deployment to become healthy before ending the delete command. Default is FalseTrue or False
--workspace-idThe Workspace ID for the Deployment from which you want to delete your dbt projectAny valid Workspace ID

Examples

To delete a dbt project from a specific Deployment:

$astro dbt delete clyxf6ivz000008jth73k37r6

To delete a project that has the mount path, /usr/local/airflow/dbt/test-dbt-project from a specific Deployment.

$astro dbt delete clyxf6ivz000008jth73k37r6 --mount-path="/usr/local/airflow/dbt/test-dbt-project"

Related commands

  • astro dbt deploy
  • astro deployment list