Move one project’s domain to another project. Also allows the move of all redirects pointed to that domain in the same project.
Default authentication mechanism
The unique project identifier or the project name
The project domain name
"www.example.com"
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"
The unique target project identifier
"prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA"
Git branch to link the project domain
250null
Target destination domain for redirect
"foobar.com"
Status code for domain redirect
, 301, 302, 307, 308 307
The domain was updated successfuly
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.