Copy Template To Project
Copy an existing template into a target project as a new template.
Parameters
template_id : str The ID of the source template to copy. body : CopyOptimizationTemplateRequest The target project ID.
Returns
OptimizationTemplate The newly created copy in the target project.
Raises
NotFoundError If no template with the given ID exists. DuplicateResourceError If a template with the same name already exists in the target project.
Path Parameters
Body
Request body for copying a template to another project.
Response
Successful Response
Model representing an optimization template as returned by the API.
The name of the optimization template.
The unique identifier for the template.
The ID of the organization this template belongs to.
Timestamp of when the template was created.
Timestamp of when the template was last updated.
An optional description for the template.
Initial form data values.
The ID of the owner project (None for system templates).
Template scope: 'system' for built-in, 'project' for user-created.