Replace device properties
Changed onReplace all property values of a device by device ID.
put/devices/{deviceId}/properties
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthOAuth 2Implicithttps://login.microsoftonline.com/common/oauth2/authorizeScopesuser_impersonation
Path parameters
deviceIdstring required
Unique ID of the device.
Query parameters
api-versionstring required
The version of the API being called.
unmodeledboolean
The query parameter for supporting unmodeled properties.
Request body
Device Properties required
Property values associated with the device.
Response
Success
Device Properties required
Property values associated with the device.
Changes
- info
added the new optional
queryrequest parameterunmodeled
- info
- warning
deleted the
queryrequest parameterunmodeled
- warning