Removes a custom HTTP header from the Alpic playground configuration for an environment.
Usage
alpic playground headers remove
Prompts to select a header to remove interactively.
Extended Usage
Remove a specific header non-interactively:
alpic playground headers remove --name "X-Api-Key"
Remove a header from a specific environment:
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. |
When running from a directory linked to an Alpic project, --environment-id is optional — the CLI reads it from the
local .alpic config file.