Deleting an Identity Domain

First, deactivate the apps in the identity domain, deactivate the identity domain, and then you can delete it.

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 will no longer be effective once the domain is deleted. We strongly recommend updating such policies to remove references to the domain name or the 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. Select the deactivated identity domain you want to work in.
    2. Click Delete.
    3. Read the warning and then type the name of the domain to confirm the deletion.
    4. 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 flags and variable options for CLI commands, see the Command Line Reference.

  • Run the DeleteDomain operation to delete an identity domain.