DNS
Create DNS Record
Create a new DNS record.
POST
Create Dns Record
Authorizations
Path Parameters
Body
application/json
Full record name (e.g., api.example.com)
Available options:
A, AAAA, CNAME, MX, TXT, NS, SRV, CAA Record content (e.g., IP address)
Time to live in seconds
Priority for MX/SRV records
Whether the record is proxied (Cloudflare only)
ID of the domain
ID of the lease (optional)
Response
Successful Response
Full record name (e.g., api.example.com)
Available options:
A, AAAA, CNAME, MX, TXT, NS, SRV, CAA Record content (e.g., IP address)
Time to live in seconds
Priority for MX/SRV records
Whether the record is proxied (Cloudflare only)
Create Dns Record