Update Optimization Template
Update the name and/or description of a project-level optimization template.
Parameters
template_id : str The ID of the template to update. body : UpdateOptimizationTemplate Fields to update (name, description).
Returns
OptimizationTemplate The updated template.
Raises
NotFoundError If no template with the given ID exists. DuplicateResourceError If a template with the new name already exists in the project.
Path Parameters
Body
Model for updating an existing optimization template.
Validates initial_form_data against DesignOptimizationDataFitConfigSchema when updating to ensure updated templates conform to the current schema.
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.