Device create

Create a new device on things5. Name and machine_firmware_id are optional fields.
If used by admin users organization_id must be provided. If used by standard users machines_group_id is required.

Device manufactures should use a standard user to authenticate and create the device using machines_group_id

Please note that firmware id is not present because the machine should use Firmware version request to communicate the firmware version to things5

Body Params
string

Device name

string
required
Defaults to Device serial
string
required

Device model iD. Can be retrived using Machine models list

string
required

Device firmware ID (must belong to the same model) (optional). Can be retrived using Machine firmwares list

string
required

Required if user is admin. Can be retrived using Organizations list

string

Required if user is not admin

boolean
Defaults to false

if true returns error if there is a machine with same serial

Responses

Language
Response
Choose an example:
application/json