astro env variable delete

This command is only available on Astro.

Delete an environment variable, identified by its ID or key.

Usage

$astro env variable delete <id-or-key>

Options

OptionDescriptionPossible Values
<id-or-key>The ID or key of the variable to delete.Any valid variable 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 variable by key, skipping the confirmation prompt
$astro env variable delete DBT_PROFILES_DIR --workspace-id <workspace-id> --yes