PATCH

Update Branch


Updates a branch.

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

Note that ORIGINAL_BRANCH types can't be updated.

Authentication

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

Permissions
Manage Site Branches
Learn more about app permissions.
Endpoint
PATCH
https://www.wixapis.com/branches/v1/branches/{branch.id}

Errors
428Failed Precondition

There is 1 error with this status code.

This method may also return standard errors. Learn more about standard Wix errors.

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