Skip to content

iectl iem device label allocate

This command is used to assign a specific label to one or multiple devices within your IEM. Labels can be used for filtering, grouping, or categorizing devices across the system.

iectl iem device label allocate [command]

Synopsis

Allocates a label to the specified device. The labels can be used for better identification and organization of the devices.

iectl iem device label allocate [flags]

Options

      --device-id           id of the device on which the label needs to be allocated
      --label               label to be allocated to the device
  -h, --help                help for allocate

Options inherited from parent commands

  -o, --output string   output format
  -q, --query string    query on result of object
  -v, --verbose         verbose output

Example

iectl iem device label allocate --device-id "sampleDeviceId" --label "new_label"

Allocate a label on multiple devices:

iectl iem device label allocate --device-id "69a5ba48b8a847748e040d498e7420e1" --device-id "69a5ba48b8a847748e040d498e7420e2" --label "new_label"

SEE ALSO