Create a domain
Log in to add to favouritesPOST/api/management/projects/{projectId}/domains/
Parameters
Name | Parameter type | Type | Format | Description |
---|---|---|---|---|
projectId(required) | path | string | - | The project identifier found in the project overview screen of the management console. |
Domain(required) | body | object | domain | The domain to create. |
Responses
Examples
Create a new domain for a specifc project
POST: /api/management/projects/movies/domains/
{
"hostHeader": "www.mysite.com"
}
Remarks
The first domain created will be set as your primary domain. Subsequent domains created will be set to isPrimary = false unless you specifically set isPrimary = true as part of the POST data.