Open or close a branch to viewers
Opening a branch with this endpoint requires permission to edit every model in the branch.
Closing a branch only requires permission to edit the branch on one of its member models.
Open a branch to Viewers and Restricted Queriers - including embed users - so they see the branch’s content instead of production, or close it again. See Opening a branch to viewers for more information.
Authorizations
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
Path Parameters
The organization-wide branch ID (orgBranchId). This isn't the same as the ID of a branch model.
"123e4567-e89b-12d3-a456-426614174001"
Query Parameters
Organization API key required. The membership ID of the user to act as.
Body
true to open the branch to Viewers and Restricted Queriers, false to close it.

