PATCH

Update Function


Updates a function.

Each time the function is updated, revision increments by 1. The existing revision must be passed when updating the function. This ensures you're working with the latest version of the function and prevents unintended overwrites.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Functions
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/functions/v1/functions/{function.id}

Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Event TriggersThis method triggers the following events:
Did this help?