Would anyone know how to delete a user defined template in Code::blocks?
As far as I know, this is only possible from outside C::B.
In Code::Blocks's configuration folder ( ~/,codeblocks on linux and %AppDat%\codeblocks on windows) there is a subfolder UserTemplates.
There you have to remove the folder with the name of the template you want to get rid of.