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

Overview

This endpoint modifies an existing lens template, overwriting any previous settings of that template. Only lens templates that are modifiable can be modified. Developers can check if a lens template is modifiable via the /lens/metadata API (look for lens_modifiable: true).

Request Body

string
required
The ID of the lens to modify (must be a modifiable lens)
string
Updated name for the lens
object
Updated configuration for the lens

Response

string
ID of the modified lens
string
Updated name of the lens
boolean
Whether the lens can be further modified
string
Current status of the lens
object
Updated lens configuration