rest service to remove templates - @Delete('/templates/{id}')