Skip to content

kx label

Sets or removes labels on one indexed resource — key=value to set, --remove to drop a key.

Usage

kx label [OPTIONS] <index> [key=value...]

Arguments

ArgumentDescription
<index>Row number from the current listing; run kx state to see it
[key=value]...Key and value to set; repeatable

Options

OptionDescription
--overwriteAllow replacing an existing key
--remove stringsKey to remove (repeatable)

Global options

OptionDescription
--no-colorDisable styled output
-h, --helpShow this message and exit

Examples

kx label 1 env=prod
kx label 1 --remove env