002630: The domain is being used as a default domain.

Description

The domain that you are trying to delete is being used as the default domain for a field. You cannot delete a domain if it is in use.

Solution

Unassign the domain from any fields that are using it, and delete the domain.