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

# playground headers remove

> Remove a playground header

Removes a custom HTTP header from the Alpic playground configuration for an environment.

## Usage

```bash theme={null}
alpic playground headers remove
```

Prompts to select a header to remove interactively.

## Extended Usage

**Remove a specific header non-interactively:**

```bash theme={null}
alpic playground headers remove --name "X-Api-Key"
```

**Remove a header from a specific environment:**

```bash theme={null}
alpic playground headers remove --environment-id <environmentId> --name "X-Api-Key"
```

## Options

| Flag                | Description                                                              |
| ------------------- | ------------------------------------------------------------------------ |
| `--environment-id`  | The ID of the environment (optional — read from local config if omitted) |
| `--name`            | The name of the header to remove                                         |
| `--non-interactive` | Disable interactive prompts. Requires `--name`.                          |

<Tip>
  When running from a directory linked to an Alpic project, `--environment-id` is optional — the CLI reads it from the
  local `.alpic` config file.
</Tip>
