Create a new device. If you set ifNotExists
to false
and the device already exists, the deviceType
will be overwritten.
Project ID
Globally unique device identifier (e.g. MAC address)
"ac:87:a3:0a:2d:1b"
Device type, for example the exact model of the device. Should be the same for all similar devices
"DISCO_L475VG_IOT01A"
Whether to throw an error when this device already exists.
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)