latestOpenAPI 3.0.12026-08-10234260964.0 KB

6cc88fde6435

Domain Management

Add an environment domain

Add a single domain to an environment. If the environment is not production, the replacement_for field is required, which binds a new domain to an existing one from a production environment. If the ssl field is left blank without an object containing a PEM-encoded SSL certificate, a certificate will be provisioned for you via Let's Encrypt.

post/projects/{projectId}/environments/{environmentId}/domains

Path parameters

projectIdstring required
environmentIdstring required

Request body

OR

Response

statusstring required

The status text of the response

codeinteger required

The status code of the response