Delete Feature Flag - WunderGraph

Description

Deletes an existing feature flag within the specified namespace (or the “default” namespace if unspecified).

Minimum Requirements

Package Minimum version
wgc 0.58.0
router 0.95.0

Usage

If a feature flag is deleted, the feature subgraphs part of the feature flag is not deleted.

wgc feature-flag delete my-flag

The alias for feature-flag is ff. Note that unless specified by the --namespace parameter, the namespace will be automatically passed as “default”.

Parameters

Options

Examples

Enable the existing feature flag “my-flag” in the namespace “prod”:

wgc feature-flag delete my-flag -n prod