🤖 For AI agents: The complete documentation index is available at /docs/llms.txt. A markdown version of this page is available at /docs/apis/lambdas.md.
Lambda API
Available since 1.6.0
Lambdas are user defined JavaScript functions that may be executed at runtime to perform various functions. Lambdas may be used to customize the claims returned in a JWT, reconcile a SAML v2 response or an OpenID Connect response when using these external identity providers.
Use the following APIs to manage Lambdas:
| Operation | Method | Endpoint |
|---|---|---|
| Create a Lambda | POST | /api/lambda/api/lambda/{lambdaId} |
| Retrieve a Lambda | GET | /api/lambda/api/lambda?type={type}/api/lambda/{lambdaId} |
| Search for Lambdas | GETPOST | /api/lambda/search?body={body}&name={name}&type={type}/api/lambda/search |
| Update a Lambda | PUT | /api/lambda/{lambdaId} |
| Delete a Lambda | DELETE | /api/lambda/{lambdaId} |