Red Hat virtual machine templates cannot be deleted. You can use the web console to delete:
Virtual machine templates created from Red Hat templates
Custom virtual machine templates that were created by using the Create Virtual Machine Template wizard.
Deleting a virtual machine template permanently removes it from the cluster.
You can delete virtual machine templates that were created by using a Red Hat template or the Create Virtual Machine Template wizard. Preconfigured virtual machine templates that are provided by Red Hat cannot be deleted.
In the OKD Virtualization console, click Workloads → Virtualization from the side menu.
Click the Templates tab. Select the appropriate method to delete a virtual machine template:
Click the Options menu of the template to delete and select Delete Template.
Click the template name to open the Virtual Machine Template Details screen and click Actions → Delete Template.
In the confirmation pop-up window, click Delete to permanently delete the template.