Skip to main content
POST

Overview

This endpoint creates a copy of a lens template, registering the lens and returning the new lens_id. Note that once a lens is cloned, any modifications to the original lens template will not be propagated to any cloned templates.

Request

lens_id
string
required
The lens ID to clone.

Response

lens_id
string
The ID of the new cloned lens.
lens_name
string
Name of the cloned lens.
lens_status
string
Status of the new lens.
lens_modifiable
boolean
Whether the cloned lens can be modified.
lens_config
object
Configuration of the cloned lens, including origin_lens_id reference.