Updating a Digital Twin Instance

Update a digital twin instance description, free form tags, defined tags, external key, or a display name for your Internet of Things.

When you update an existing option applied to a digital twin instance, you change only the value you do not add a new value to the digital twin instance using this update option.

  • Use the update option to update the value of an existing digital twin instance option.

    Use the oci iot digital-twin-instance update command and required parameters to update a digital twin instance. You can update a digital twin instance's description, free form tags, external key, or display name:

    Use this command and required parameters to update a digital twin instance's description:

    oci iot digital-twin-instance update --digital-twin-instance-id <digital-twin-instance-OCID> --description "<updated-digital-twin-description>"

    Use this command and required parameters to update a digital twin instance's free form tags:

    oci iot digital-twin-instance update --digital-twin-instance-id <digital-twin-instance-OCID>  --freeform-tags

    Use this command and required parameters to update a digital twin instance's defined tags:

    oci iot digital-twin-instance update --digital-twin-instance-id <digital-twin-instance-OCID>  --defined-tags

    Use this command and required parameters to update a digital twin instance's external key:

    oci iot digital-twin-instance update --digital-twin-instance-id <digital-twin-instance-OCID> --external-key

    Use this command and required parameters to update a digital twin instance's display name:

    oci iot digital-twin-instance update --digital-twin-instance-id <digital-twin-instance-OCID>  --display-name "<updated-display-name>"

    For a complete list of parameters and values for CLI commands, see CLI Command Reference.

  • Run the UpdateDigitalTwinInstance operation to update a digital twin instance.