How to remove hosts from zabbix template?
Solution 1:
the answer of @mschuett is correct. You should Unlink and clear.
to remove the untemplated items from your hosts, you can filter on each host by Not templated items, select all and delete.
If there are many hosts in that situation, it's better to create a group for all of them, select the Host group and filter again.
Solution 2:
a) from the manual:
Choosing the Unlink option will simply remove association with the template, while leaving all its entities (items, triggers, graphs etc.) with the host.
Choosing the Unlink and clear option will remove both the association with the template and all its entities (items, triggers, graphs etc.).
b) Not tested, but try to re-link the template and then unlink and clear
.