Projects
Add a new environment domain
Changed onpost/projects/{project_id}/environments/{env_id}/domains
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
project_idinteger required
Project ID or slug
env_idinteger required
Environment ID or slug
Request body
Response
Domain added successfully
Example response
{
"url": "https://buildtolearndev-production.example.com"
}Changes
- breaking
the
created_atresponse's property type changed fromintegertostring, and format fromint64todate-timefor status
- breaking
- info
the endpoint scheme security
bearer_authwas added to the API
- info