Configuring devices using fctl
fctl
Use fctl create device <device_name>
with the upsert
command to set the tags and configuration of a device.
--configuration
must be followed by a valid configuration template name.
--tags
must be followed by a semicolon-separated set of key-value pairs.
Example
fctl create device my_device_123 --upsert --configuration my_config_template --tags 'type: device_type; owner: alice'
If successful, the output will look like:
Updated device 5f23ff87-d11c-4cf0-bb66-7ab122f72992 (my_device_123)