Digital Twin - Get Digital Twin

Gets a digital twin.

GET 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.

Responses

Name Type Description
200 OK

object

Returns the digital twin object

Headers

ETag: string