CLI referenceastro envastro env connectionastro env connection deleteCopy pageThis command is only available on Astro. Delete an Airflow connection, identified by its ID or key. Usage $astro env connection delete <id-or-key> Options OptionDescriptionPossible Values<id-or-key>The ID or key of the connection to delete.Any valid connection ID or key-y,--yesSkip the confirmation prompt.None--workspace-idSet the Workspace scope. Mutually exclusive with --deployment-id. Defaults to your current Workspace from CLI context.Any valid Workspace ID--deployment-idSet the Deployment scope. Mutually exclusive with --workspace-id.Any valid Deployment ID Examples $# Delete a Workspace connection by key, skipping the confirmation prompt$astro env connection delete db_main --workspace-id <workspace-id> --yes Related Commands astro env connection create astro env connection list