Update a device via patch
Changed onUpdate an existing device by ID.
patch/devices/{deviceId}
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.
expandstring
The query parameter for including requested entities in response.
Headers
If-Matchstring
Only perform the operation if the entity's etag matches one of the etags provided or * is provided.
Request body
object required
Response
Success
Changes
- info
added the new optional
headerrequest parameterIf-Match - info
added the new optional
queryrequest parameterexpand
- info