v13
OpenAPI 3.0.32026-07-31359869.4 MBprojects
Update a project domain
Update a project domain's configuration, including the name, git branch and redirect of the domain.
patch/v9/projects/{idOrName}/domains/{domain}
Path parameters
idOrNamestring required
The unique project identifier or the project name
The unique project identifier or the project name
domainstring required
The project domain name
Example:www.example.com
The project domain name
Query parameters
teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l
The Team identifier to perform the request on behalf of.
slugstring
Example:my-team-url-slug
The Team slug to perform the request on behalf of.
Request body
Example request
{
"redirect": "foobar.com",
"redirectStatusCode": 307
}Response
The domain was updated successfuly