Moving an IoT Domain to a Different Compartment
Move an Internet of Things (IoT) domain to a different compartment.
Use the
oci iot domain change-compartment
command and required parameters to move a domain to another compartment. Replace the<compartment-OCID>
with the OCID for the new compartment location and the<iot-domain-OCID>
with the domain that you want to move:oci iot domain change-compartment --compartment-id <compartment-OCID> --iot-domain-id <iot-domain-OCID>
For a complete list of parameters and values for CLI commands, see CLI Command Reference.
Run the ChangeIotDomainCompartment operation to move a domain to a different compartment.