Domains
Create domain
Create a new domain for the given environment. After creating the domain, you'll have to add the required DNS records to your DNS provider. This might be a 2-step process, depending on the verification method used. You can check the required DNS records in the response of this endpoint, and you can verify the domain using the "verify" query parameter in the "Get domain" endpoint.
post/environments/{environment}/domains
Request
- Base URLhttps://cloud.laravel.com/api
- AuthHTTP bearer
Path parameters
environmentstring required
The environment identifier
Request body
Example request
{
"allow_downtime": true
}Response
DomainResource
Changes
No recorded changes to this operation across all 1 revision of this API.