Use

You can only delete templates for which no instances exist. Before deleting the template, delete any associated connected product instances. If you try to delete a template with instances, you get an error message.