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

Changes

No recorded changes to this endpoint across all 1 revision of this API.