Unnecessary or unused templates can be easily deleted by using the template context menu by right-clicking on the Template you want to delete and click on the option.
Deletion also could be done via Console command. In order to execute that, open the Console View, and in its toolbar, select the Host OSGi console
option.
Here one of the following codes can be entered.