Functions
Create a Function
Create a function.
The function type determines which configuration fields are required — see the CreateFunctionV3 discriminated union and Function types overview for the per-type contract.
The response contains both functionID and functionName. Either is a stable handle you can use elsewhere; most workflows reference functions by functionName because it's human-readable.
Naming rules
- functionName must be unique per environment.
- Allowed characters: letters, digits, hyphens, and underscores.
- Names cannot be reused after deletion within the same environment for at least the retention window of the previous record.
The new function is created at versionNum: 1. Subsequent PATCH /v3/functions/{functionName} calls produce new versions — the version-1 configuration remains immutable and addressable.
post/v3/functions
Request body
Response
The request has succeeded.