Moving an IoT Flow Runtime to Another Compartment
Move an IoT Flow Runtime to a different compartment.
- 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.
- Select Move resource from the Actions menu.
- Select the destination compartment.
- Select Move resource and wait for the work request to complete.
Use the
oci iot flow-runtime change-compartmentcommand 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 iscompartmentId.A successful request returns an
opc-work-request-idheader.