Domains
Create a new domain
Changed onCreates a new domain and automatically requests a Let's Encrypt challenge. You can specify the challenge type (HTTP-01 or DNS-01) in the request.
- HTTP-01: Validates domain ownership by placing a file on your web server at /.well-known/acme-challenge/
- DNS-01: Validates domain ownership by adding a TXT record to your DNS (required for wildcard domains)
post/domains
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Request body
Response
Domain created successfully
Changes
- breaking
the
created_atresponse's property type changed fromintegertostring, and format fromint64todate-timefor status - breaking
the
expiration_timeresponse's property type changed fromintegernulltostringnull, and format fromint64todate-timefor status - breaking
the
last_renewedresponse's property type changed fromintegernulltostringnull, and format fromint64todate-timefor status
2 more changes in this revision
- breaking