Deactivating an Identity Domain

You might create an identity domain in IAM that you need only temporarily, for example, for testing purposes. You can deactivate the identity domain when it's not in use and then reactivate it when it's needed. An identity domain must be deactivated before it can be deleted.

You can't deactivate the Default identity domain or the identity domain to which you're signed in (the current domain).

Before you deactivate an identity domain, all Cloud, Oracle, Custom, and Enterprise applications must be deactivated. All applications created by App Services in Oracle Cloud Services (for example, AnalyticsINST-OAC1) must also be deactivated, but "entitlement" apps in Oracle Cloud Services (for example, ADWC) don't need to be deactivated.

Immediately after the administrator starts deactivating an identity domain, the identity domain moves to a deactivating state and users can no longer authenticate to it.

Note

Paid tier identity domains continue to incur costs when deactivated. To avoid incurring additional costs, you should delete the identity domain.
    1. Open the navigation menu and click Identity & Security. Under Identity, click Domains.
    2. Click the name of the identity domain you want to deactivate. You might need to change the compartment to find the domain that you want.
    3. Click More actions, and then select Deactivate.
    4. Confirm the deactivation.

      The identity domain is in an Inactive status.

  • Use the oci iam domain deactivate and required parameters to deactivate an identity domain:

    oci iam domain deactivate --domain-id domain_ocid [OPTIONS]

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

  • Run the DeactivateDomain operation to deactivate an identity domain.