v10

latestOpenAPI 3.0.1raw.githubusercontent.com2025-09-1410812.7 KB
Dns Record

Create dns record

Creates a new dns record, returns the dns record on creation

post/api/v1/zones/{zone}/dns-records

Path parameters

zonestring required

The name of the zone to create dns record

Request body

namestring

The name of dns record, "@" for zone name(root level), "*" for wild card and any valid value with RFC 1123

typestring

The type of dns record, valid values: [A, AAAA, TXT, CNAME, ALIAS, MX, SRV, SPF, PTR]

ttlnumber

The ttl of dns record, is not required, valid values: [120, 180, 300, 600, 900, 1800, 3600, 7200, 18000, 43200, 86400, 172800, 432000]

contentsobject[]

Array of content of dns record, change base on type of dns record

Response

Successful operation

statusstring

success