Moving an IoT Flow Runtime to Another Compartment

Move an IoT Flow Runtime to a different compartment.

    1. On the IoT domain list page, if you need help finding the list page or an IoT domain, see Listing IoT Flow Runtimes. Find the IoT domain you want to work with, go to the Flow Runtime tab.
    2. Select Move resource from the Actions menu.
    3. Select the destination compartment.
    4. Select Move resource and wait for the work request to complete.
  • Use the oci iot flow-runtime change-compartment command and required parameters to move an IoT Flow Runtime to another compartment.

    oci iot flow-runtime change-compartment --iot-flow-runtime-id <flow-runtime-OCID> --compartment-id <target-compartment-OCID>

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

  • Run the ChangeIotFlowRuntimeCompartment operation to move an IoT Flow Runtime to another compartment.

    POST /20250531/iotFlowRuntimes/{iotFlowRuntimeId}/actions/changeCompartment
    {
      "compartmentId": "ocid1.compartment.oc1..exampleuniqueID"
    }

    The request body uses ChangeIotFlowRuntimeCompartmentDetails. The required field is compartmentId.

    A successful request returns an opc-work-request-id header.