Device
Create a new device and the monitors relation which connects this device to a role
A user can only execute this call is he is a member of an authorizing role which satisfies one of the following conditions: <ul> <li> The authorizing role has direct or indirect deviceManagement rights for the role for which a device is created </li> <li> The authorizing role has indirect roleManagement rights for the role for which a device is created </li> </ul>
post/v1/device
Query parameters
roleIdinteger required
Id of the role to which the device (and monitors relation) should be added
validateboolean
Before creating a new device, validate the properties using the schema corresponding to its nodeType (if such a schema exists)
Request body
Response
The newly created device and monitors relation