v7

latestSwagger 2.02026-07-13322074.5 KB
Twins

Updates a component on a digital twin. Status codes:

  • 204 No Content
  • 400 Bad Request
    • InvalidArgument - The digital twin id, component path, or payload is invalid.
    • JsonPatchInvalid - The JSON Patch provided is invalid.
    • ValidationFailed - Applying the patch results in an invalid digital twin.
  • 404 Not Found
    • DigitalTwinNotFound - The digital twin was not found.
  • 412 Precondition Failed
    • PreconditionFailed - The precondition check (If-Match or If-None-Match) failed.
patch/digitaltwins/{id}/components/{componentPath}

Path parameters

idstring required

The id of the digital twin. The id is unique within the service and case sensitive.

componentPathstring required

The name of the DTDL component.

Query parameters

api-versionstring required

The requested API version.

Headers

If-Matchstring

Only perform the operation if the entity's etag matches one of the etags provided or * is provided.

Response

Success