database

Creates a new database branch for a deploy. If a branch already exists for the specified deploy ID, returns the existing connection string.

post/sites/{site_id}/database/branch

Request body

parent_branch_idstring

The ID of the parent branch to create the new branch from. Defaults to the production branch if not specified.

deploy_idstring required

The deploy ID to associate with this branch

Response

Branch already exists for this deploy

connection_stringstring

The connection string for the database branch

Changes