Deleting an Identity Domain

Delete an identity domain in a tenancy in IAM.

Before you can delete an identity domain, you must deactivate the apps in the identity domain and then deactivate the identity domain. See Deleting an Identity Domain.

Deleting an identity domain irreversibly deletes all users, groups, applications, and other resources in the domain. Any policies granting permissions to users, groups, or dynamic groups in the domain are no longer in effect after the domain is deleted. We recommend updating such policies to remove references to the identity domain name or the identity domain's resources, or deleting them altogether. Deleting an identity domain also invalidates any IAM policy that references it.

    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 Delete.
    4. Read the warning and then type the name of the identity domain to confirm the deletion.
    5. Click Delete.
  • Use the oci iam domain delete command and required parameters to delete an identity domain:

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

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

  • Run the DeleteDomain operation to delete an identity domain.