functions

Update a Function

Update a Function.

put/groups/{groupId}/apps/{appId}/functions/{functionId}

Response

The function was successfully updated.

can_evaluateobject

A JSON expression that evaluates to true if the Function is allowed to run in response to an incoming request.

namestring required

A unique name for the Function.

privateboolean required

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.

sourcestring required

The stringified source code for the function. The code must be valid ES6.

run_as_systemboolean required

If true, the function executes with full privileges, bypassing rules on all services.

Changes