Update a project domain
Update a project domain’s configuration, including the name, git branch and redirect of the domain.
Authorizations
Default authentication mechanism
Path Parameters
The unique project identifier or the project name
The project domain name
"www.example.com"
Query Parameters
The Team identifier to perform the request on behalf of.
"team_1a2b3c4d5e6f7g8h9i0j1k2l"
The Team slug to perform the request on behalf of.
"my-team-url-slug"
Body
Git branch to link the project domain
250
null
Target destination domain for redirect
"foobar.com"
Status code for domain redirect
301
, 302
, 307
, 308
307
Response
true
if the domain is verified for use with the project. If false
it will not be used as an alias on this project until the challenge in verification
is completed.
307
, 301
, 302
, 308
A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete POST /projects/:idOrName/domains/:domain/verify
to verify the domain. Possible challenges: - If verification.type = TXT
the verification.domain
will be checked for a TXT record matching verification.value
.
A list of verification challenges, one of which must be completed to verify the domain for use on the project. After the challenge is complete POST /projects/:idOrName/domains/:domain/verify
to verify the domain. Possible challenges: - If verification.type = TXT
the verification.domain
will be checked for a TXT record matching verification.value
.