Deleting an Identity Domain
Delete an identity domain in a tenancy in IAM.
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.
- Open the navigation menu and click Identity & Security. Under Identity, click Domains.
- 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.
- Click Delete.
- Read the warning and then type the name of the identity domain to confirm the deletion.
- 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.