Updating an IoT Domain Group
Update an IoT domain group for your Internet of Things (IoT).
Use the update option to update the value of an existing IoT domain group option. When you update an existing option applied to a domain group, you change only the value you do not add a new value to the domain group.
Use the oci iot domain-group update command, the required parameter, and add any option to change the value of any options applied to an IoT domain group:
oci iot domain-group update --iot-domain-group-id <iot-domain-group-OCID>
Depending on what you want to update, you can use any of the following optional parameters to update an IoT domain group's description, free form tags, defined tags, or a display name. You can only update an existing option:
Use this command to update a domain group's description, replace
updated-description
with an updated description for your domain group:oci iot domain-group update --iot-domain-group-id <iot-domain-group-OCID> --description <updated-description>
Use this command to update a domain group's free form tags. For more information, see Understanding Free-form Tags.
oci iot domain-group update --iot-domain-group-id <iot-domain-group-OCID> --freeform-tags
Use this command to update a domain group's defined tags. For more information, see Working with Defined Tags.
oci iot domain-group update --iot-domain-group-id <iot-domain-group-OCID> --defined-tags
Use this command to update a domain group's display name, replace
updated-display-name
with an updated display name:oci iot domain-group update --iot-domain-group-id <iot-domain-group-OCID> --display-name <updated-display-name>
For a complete list of parameters and values for CLI commands, see CLI Command Reference.
Run the UpdateIotDomainGroup operation to update a domain group.
When you update an existing option applied to a domain group, you change only the value you do not add a new value to the domain group.