Moving an Identity Domain Between Compartments
Move identity domains between compartments in IAM.
You can move any identity domain between compartments within the same tenancy, except the Default identity domain. The Default identity domain can't be moved from the root compartment of the tenancy.
When you move a domain, all its resources are moved with it. For information about moving resources, see Moving a Resource Between Compartments.
- On the Domains list page, select the domain that you want to move. If you need help finding the list page or the domain, see Listing Identity Domains.
-
Perform one of the following actions depending on what you see:
- From the Actions menu, select Move resource.
- Select Move resource.
- In the Move resource panel, select the destination compartment from the list.
- Select Move resource.
Use the oci iam domain change-compartment command and required parameters to move an identity domain between compartments within the same tenancy:
oci iam domain change-compartment --compartment-id compartment_ocid --domain-id domain_ocid [OPTIONS]
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ChangeDomainCompartment operation to move an identity domain between compartments within the same tenancy.