# atmos stack delete

Delete a component-relative value for a component in a stack. Atmos uses provenance to
find the manifest that defines the value and removes it there, preserving the rest of
the file.

:::info
`atmos stack delete` is an alias for [`atmos stack config delete`](/cli/commands/stack/config/delete), the canonical form.
:::

## Usage

```shell
atmos stack delete <path> -s <stack> -c <component> [--file <manifest>]
```

The `del` and `unset` aliases are also accepted.

## Examples

```shell
atmos stack delete settings.spacelift.workspace_enabled -s plat-ue2-prod -c vpc
atmos stack delete vars.legacy_flag --file stacks/deploy/prod.yaml -s plat-ue2-prod -c vpc
```

## Arguments

- **`<path>` (required)**
  Component-relative dot-notation path to delete (e.g. 
  `vars.legacy_flag`
  ).

## Flags

- **`--stack` / `-s` (string, required)**
  The stack name.
- **`--component` / `-c` (string, required)**
  The component name.
- **`--file` (string)**
  Edit this manifest explicitly instead of resolving via provenance.
