Moving an IoT Domain to a Different Compartment

Move an Internet of Things (IoT) domain to a different compartment.

    1. On the Domains list page, find the domain that you want to work with. If you need help finding the list page or an IoT domain, see Listing IoT Domains.
    2. There are 2 ways to move a IoT domain to another compartment:
      • From the domain list, select the Actions menu at the end of the row for that domain, and then select Move Resource. For more information, see Moving Resources to a Different Compartment.
      • Select the domain name, select Actions, and then select Move Resource.
    3. Optional: To view the work request for an update, go to the domain, and then select the work request tab. Select the operation name to view the work request OCID. For more information, see Getting a Work Request's Details for Internet of Things.
  • 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.