Moving Multiple Resources Between Compartments

Learn how to move multiple resources between compartments at one time.

  • This task can't be performed using the Console.

  • Use the bulk-move-resources command and required parameters to move multiple resources between compartments:

    oci iam compartment bulk-move-resources --generate-param-json-input resources > resources.json
    

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

  • Run the BulkMoveResources operation to move multiple resources between compartments.