Updating an IoT Domain
Update an Internet of Things domain.
Use the update option to update the value of an existing IoT domain option. When you update an existing option applied to an IoT domain, you change only the value you can not add a new value to an IoT domain using this update option.
Use the oci iot domain update command and required parameters to update an IoT domain. You can update a description, display name, free form tags, or defined tags for an IoT domain.
Use this command to update a description:
oci iot domain update --iot-domain-id <iot-domain-OCID> --description <your-updated-description>Use this command to update a display name.
oci iot domain update --iot-domain-id <iot-domain-OCID> --display-name <your-updated-display-name>To update an IoT domain's free form tags, you can define key value pairs as in this example, or a path to a
tags.jsonfile as in the following example below:oci iot domain update --iot-domain-id <iot-domain-OCID> --defined-tags '{"<key>": "<value>"}'For more information, see Working with Defined Tags.
To update an IoT domain's free form tags, use a
.jsonfile to define the tags, and include a path atags.jsonfile as in the example:oci iot domain update --iot-domain-id <iot-domain-OCID> --freeform-tags file://tags.jsonFor more information, see Understanding Free-form Tags.
For a complete list of parameters and values for CLI commands, see CLI Command Reference.
Run the UpdateIotDomain operation to update an IoT domain.