Update a domain
Log in to add to favouritesPATCH/api/management/projects/{projectId}/domains/{domainId}
Parameters
Name | Parameter type | Type | Format | Description |
---|---|---|---|---|
projectId(required) | path | string | - | The project identifier found in the project overview screen of the management console. |
domainId(required) | path | string | guid | The domain identifier. |
Responses
Examples
Update the host header for a domain
PATCH: /api/management/projects/movieDb/domains/8fed8722-cd09-44f1-9e42-bd4e8a703213
{
"hostHeader": "www.mysite.com"
}
Update a domain to be your primary domain
PATCH: /api/management/projects/movieDb/domains/8fed8722-cd09-44f1-9e42-bd4e8a703213
{
"isPrimary": true
}