Skip to main content
PATCH/api/management/projects/{projectId}/domains/{domainId}

Parameters

NameParameter typeTypeFormatDescriptionExampleRequired
projectIdpathstringThe project identifier found in the project overview screen of the management console.movieDbtrue
domainIdpathstringguidThe domain identifier.true

Responses

HTTP status codeReasonModel
200Success
403ForbiddenError
404Project not foundError
404Domain not found
422Validation errorError
500Internal server errorError

Examples

Update the host header for a domain

HTTP
1
2
3
4
5
PATCH: /api/management/projects/movieDb/domains/8fed8722-cd09-44f1-9e42-bd4e8a703213 { "hostHeader": "www.mysite.com" }

Update a domain to be your primary domain

HTTP
1
2
3
4
5
PATCH: /api/management/projects/movieDb/domains/8fed8722-cd09-44f1-9e42-bd4e8a703213 { "isPrimary": true }

Still need help?

New support request