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

Overview

This endpoint deletes a lens template, removing it from the list of available lens templates. Note that deleting the lens template does not stop or delete any active lens sessions based on the template.

Request

string
required
The unique lens ID to delete. This is returned when the lens template is created.

Response

boolean
Whether the deletion was successful. Check this field to detect errors.
string
The ID of the lens that was deleted (or attempted to delete).
array
Array of error messages if the deletion failed.