Reference

glab-variable-delete(1)

Delete a variable for a project or group.

NAME

glab-variable-delete - Delete a variable for a project or group.

SYNOPSIS

glab variable delete [flags]

DESCRIPTION

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.

EXAMPLE

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

SEE ALSO

glab-variable(1)

History