Skip to main content
POST
Branch a company site

Authorizations

Authorization
string
header
required

A company admin credential for your company, or a droplet installation token with the website scope for reads, except on the share routes, which refuse a droplet token.

Path Parameters

id
string<uuid>
required

The site's id.

Body

application/json

Optional choices for a branch. The whole body may be omitted.

branch
object

The choices for the branch.

Response

The new branch, published and private.

One branch.

branch
object
required

The branch of a site: a second site, cloned from the published content of its parent and published at once, so it renders what the parent renders. It is private, owned as the parent is, and has no shares. Only its owner and company admins can open it, in the frame at frame_path. It is edited and published through the files, pages and publish operations with site_id as the site id, which serve a company site's branch only; the parent never changes.

status
integer
required

The HTTP status.

meta
object
required

Response metadata included on every response body.