The Function Activations API allows you to activate and deactivate functions. Function activation is the final step in the function lifecycle that makes functions ready to execute when triggered by Wix business solutions. Use this API together with other Wix Functions APIs.
With the Function Activations API, you can:
Function activations are what makes your functions live. When a function is first created, it is a draft. To activate it, call Upsert Function Activation. Any further changes to the function will only take effect after you reactivate the function by calling Upsert Function Activation again. This means that when you update a function, the changes only go live when you activate it again.
You can deactivate a function by calling Delete Function Activation.