You can delete customized virtual machine templates based on Red Hat templates by using the web console.
You cannot delete Red Hat templates.
Deleting a virtual machine template permanently removes it from the cluster.
You can delete customized virtual machine templates. You cannot delete Red Hat-supplied templates.
In the OKD console, click Virtualization → Templates from the side menu.
Click the Options menu of a template and select Delete template.