Create a new site

Use this endpoint to create a new site.

The new site can either be an initial draft site which has no associated ready version or
it can be a draft of an existing ready site.

The body of the request should contain the metadata for the new site.
This metadata should include the site 'name', 'linkedDocId' is optional, 'id' is optional.
If 'linkedDocId' is provided, then the site created will be a draft of the ready site specified in 'linkedDocId'.
If 'linkedDocId' is not provided, then the site created will be an initial draft site i.e no ready version exists yet.
If ID is provided, and a draft of the default site is being created it must start with default.
'linkedDocId' must be set to 'default'.

User roles: admin, manager, editor

Language
Click Try It! to start a request and see the response here!