Skip to main content

goliothctl device list

List all devices that have been registered with Golioth

goliothctl device list [flags]

Examples

# List all devices
> goliothctl device list
id:"60abc24dad0772e87bb232c9" hardware_ids:"AA:AA:AA:AA" name:"Test Device 1"
id:"60ad5f25ad0772e87bb232cd" hardware_ids:"CC:CC:CC:CC" hardware_ids:"BB:BB:BB:BB" name:"foobar"

Options

  -h, --help               help for list
--hwId stringArray device hardware id
--name string device name
--state string LightDB state path
--stream string LightDB stream latest path
--tags stringArray tag names
--update string LightDB update state path

Options inherited from parent commands

      --apiUrl string      golioth api server url (default "https://api.golioth.io")
-c, --config string config file (default is $HOME/.golioth/.goliothctl.yaml)
--projectId string golioth project id

SEE ALSO

  • goliothctl device - Use the goliothctl device subcommands to add, remove, list, and update data associated with devices.