Registers or updates a device. For initial device registration, only 'name' and 'deviceClass' properties are required.


HTTP Request

PUT /device/{id}


Parameter NameRequiredTypeDescription
idYesstringDevice unique identifier.
Device Id can only contain letters, digits and dashes.


Access JSON Web Token (RegisterDevice)

Request Body

In the request body, supply a Device resource.

Property NameRequiredTypeDescription
nameYesstringDevice display name.
dataNoobjectDevice data, a JSON object with an arbitrary structure.
networkIdYesintegerAssociated network id.
isBlockedNobooleanIndicates whether device is blocked.


If successful, this method returns an empty response body.