v7
latestSwagger 2.02026-07-13322074.5 KBTwins
Adds or replaces a digital twin. Status codes:
- 200 OK
- 400 Bad Request
- InvalidArgument - The digital twin id or payload is invalid.
- ModelDecommissioned - The model for the digital twin is decommissioned.
- TwinLimitReached - The maximum number of digital twins allowed has been reached.
- ValidationFailed - The digital twin payload is not valid.
- 412 Precondition Failed
- PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.
put/digitaltwins/{id}
Path parameters
idstring required
The id of the digital twin. The id is unique within the service and case sensitive.
Query parameters
api-versionstring required
The requested API version.
Headers
If-None-Match'*'
Only perform the operation if the entity does not already exist.
Request body
object required
Response
Success
DigitalTwin required
Digital twin