Moving an Identity Domain Between Compartments
You can move any identity domain betqween compartments within the same tenancy, except the Default identity domain. The Default identity domain cannot be moved from the root compartment of the tenancy.
When you move a domain, all its resources are moved with it. For more information about moving resources, see Moving a Resource Between Compartments.
- Open the navigation menu and click Identity & Security. Under Identity, click Domains. Select the identity domain you want to work in.
- Click Move resource.
- Choose a new compartment and then click 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 flags and variable options for CLI commands, see the Command Line Reference.
Run the ChangeDomainCompartment operation to move an identity domain between compartments within the same tenancy.