Optional
can_A JSON expression that evaluates to true
if the Function is allowed to run in response to an incoming request.
NewFunction
A unique name for the Function.
NewFunction
If true
, the function is hidden from client applications. You can still call a private function from JSON expressions and other functions, including incoming webhooks and triggers.
NewFunction
If true
, the function executes with full privileges, bypassing rules on all services.
NewFunction
Optional
run_An application user's account ID. If defined, endpoints will always run as the specified user. Cannot be used with run_as_user_id_script_source
.
NewFunction
Optional
run_The stringified source code for a function that returns an application user's account ID. If defined, endpoints execute the function on every request and run as the user with the ID returned from the function. Cannot be used with run_as_user_id
.
NewFunction
The stringified source code for the function. The code must be valid ES6.
NewFunction
Generated using TypeDoc
Export
NewFunction