Lens API
Modify Lens
Modifies an existing lens template
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
The ID of the lens to modify (must be a modifiable lens)
Updated name for the lens
Updated configuration for the lens
Response
ID of the modified lens
Updated name of the lens
Whether the lens can be further modified
Current status of the lens
Updated lens configuration