Thanks John, sadly Port Profiles that are now part of SmartPorts is not an option or solution for many customers, also it's another one of those, where a new feature is developed and released and is not supportive of those customers invested and utilising Configuration Templates, of which there are so many.
It would be best to add the API support/operation for creating 'Switch templates' and not leave it incomplete as its been for many years since the launch of Dashboard API v1 when Configuration Template support got added to the platform API - it has been a source of frustration for a long time, more from a data backup/disaster recovery perspective and not being able to give customers the absolute best and rapid RTO, today its a boring, manual, mundane and error prone repetitive NOC Runbook task rather than an automated task ☹️ - thankfully though we do provide some NOC UI modal prompts to speed it up and remove some elements of manual risk, as we can detect what the different Switch template names were and MS model from the API.
Feature request kindly made on my behalf by Mark Anderson in March 2022, called "Creating via the API Switch Profiles in Configuration Templates" - feature had a different name at the time from 'Switch Templates' as they are known today due to the pending Port Profiles feature release (if my old head recalls correctly!)