ktm variables variants remove

Remove a variant; refuses if any variable holds non-default data unless --force

Remove a variant; refuses if any variable holds non-default data unless --force

Usage

ktm variables variants remove <group-id> <variant-id> [flags]

Examples

ktm variables variants remove 42 7           # refuses if data would be lost
ktm variables variants remove 42 7 --force   # removes anyway

Arguments

ArgumentRequired
group-idYes
variant-idYes

Flags

FlagTypeDefaultDescription
--forcebooleanBypass the non-default-values safety check

Details

Safe by default: refuses if any variable in the group has a non-default value for this variant, listing the affected variables. Pass --force to remove anyway (data on this variant will be lost).

Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.

What's next?

All commands

Browse the full CLI reference.

Get started

Install the CLI and authenticate.

Last updated on