Domains
Setup DNS challenge records automatically using a DNS provider
Changed onThis endpoint automatically creates the required DNS TXT records for ACME DNS-01 challenge validation using a configured DNS provider. The domain must have an active DNS challenge pending (created via POST /domains/{id}/order with dns-01 challenge type).
This is similar to how email domain DNS records are auto-provisioned.
post/domains/{domain_id}/setup-dns
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
domain_idinteger required
Domain ID
Request body
Response
DNS records created successfully
Example response
{
"results": [
{
"name": "_acme-challenge.example.com",
"value": "abc123..."
}
]
}Changes
- info
added the non-success response with the status
- info
- info
removed the non-success response with the status
- info