DNS Zones
Create Dns Record
post
/dns/zones/{zone_uuid}/recordsCreate a new DNS record.
Autorización
Authorization
Authorization*string
Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.
Parámetros de ruta
zone_uuid*string
Cuerpo de la petición
Create a new DNS record
application/jsonObligatorio
name*string
Record name (@ for apex, or subdomain)
Rango
length ≤ 255record_type*DNSRecordType
Valores
"A""AAAA""CNAME""MX""TXT""SRV""CAA""NS""SOA""PTR""ALIAS""SSHFP""TLSA"content*string
Record content
ttl?integer
Time to live in seconds
Rango
60 ≤ value ≤ 86400Por defecto60priority?integer | null
Priority for MX/SRV
Rango
0 ≤ value ≤ 65535weight?integer | null
Weight for SRV
Rango
0 ≤ value ≤ 65535port?integer | null
Port for SRV
Rango
1 ≤ value ≤ 65535comment?string | null
Optional comment
Rango
length ≤ 255region?string | null
GeoDNS region (e.g. us-east); 'global'/empty = served everywhere (Pro/Business)
Respuestas
Successful Response
application/json
uuid*string
name*string
record_type*DNSRecordType
Valores
"A""AAAA""CNAME""MX""TXT""SRV""CAA""NS""SOA""PTR""ALIAS""SSHFP""TLSA"content*string
ttl*integer
priority?integer | null
weight?integer | null
port?integer | null
comment?string | null
region?string | null
created_at*string
Formato
date-timeupdated_at*string
Formato
date-time