Digital Twin - Update Digital Twin

Updates a digital twin.

PATCH https://fully-qualified-iothubname.azure-devices.net/digitaltwins/{id}?api-version=2021-04-12

URI Parameters

Name In Required Type Description
id
path True

string

Digital Twin ID.

api-version
query True

string

Version of the Api.

Request Header

Name Required Type Description
If-Match

string

Request Body

Name Type Description
digitalTwinPatch

object[]

json-patch contents to update.

Responses

Name Type Description
202 Accepted

Accepted

Headers

  • ETag: string
  • Location: string