Update device properties for a specific component via patch

Changed on
patch/devices/{deviceId}/components/{componentName}/properties

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    OAuth 2
    Implicithttps://login.microsoftonline.com/common/oauth2/authorize
    Scopesuser_impersonation

Path parameters

deviceIdstring required

Unique ID of the device.

componentNamestring required

Name of the device component.

Query parameters

api-versionstring required

The version of the API being called.

unmodeledboolean

The query parameter for supporting unmodeled properties.

Request body

object required

Response

Success

DeviceProperties required

Property values associated with the device.

Changes