glab-variable-delete(1)

glab-variable-delete1

Delete a variable for a project or group.

Usage

glab variable delete [flags]

Overview

Deletes a variable by key. Use --scope to target a variable in a specific environment, or --group to delete a group variable instead.

Options

-g, --group=""
Delete variable from a group.

-s, --scope=""
The 'environment_scope' of the variable. Options: all (), or specific environments.

Options inherited from parent commands

-h, --help[=false]
Show help for this command.

-R, --repo=""
Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.

Examples

glab variable delete VAR_NAME
glab variable delete VAR_NAME --scope=prod
glab variable delete VARNAME -g mygroup

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

From glab 1.126.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.