The configuration must always have at least one defined realm.
There is only one realm defined and it cannot be deleted.
Add another realm to the configuration before deleting this realm.