This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Creates a template by duplicating an existing site.
Duplicates the site specified in siteMetaSiteIdToCopy, then turns the duplicate into a template. The original site is left unchanged and doesn't have to belong to your account - you can copy any site you're allowed to duplicate.
As with Create Template, the template is always created with a templateType of STUDIO and becomes PUBLIC only when you publish it.
You can only call this method when authenticated as a Wix user or by using an account level API key.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.