Skip to main content
POST

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

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

Response

lens_id
string
ID of the modified lens
lens_name
string
Updated name of the lens
lens_modifiable
boolean
Whether the lens can be further modified
lens_status
string
Current status of the lens
lens_config
object
Updated lens configuration