Skip to main content
POST
Requires version 1.1.5 or later of the Archetype platform.

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

string
required
The lens ID to clone.

Response

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