ktm variables name-available

Pre-flight: check whether a variable name is free under a product

Pre-flight: check whether a variable name is free under a product

Usage

ktm variables name-available [flags]

Examples

ktm products list -o table       # find the product id
ktm variables name-available --product-id 134 --name MY_VAR

Flags

FlagTypeDefaultDescription
--namestringVariable name to check
--product-idintProduct numeric id (from 'ktm products list')

Details

Returns "available" or "taken" so you can surface name conflicts client-side before attempting create. Takes the product's NUMERIC ID (find via 'ktm products list -o table'), not the slug.

Implementation note: the platform's own name check is unreliable, so the check is performed client-side by listing the product's variables and matching by name.

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