v1

latestOpenAPI 3.1.02026-07-244861122.7 KB
records

Set RRSet TTL

Set TTL for an RRSet.

put/v1/dns/records/{zone_name}/{name}/rrsets/{dns_type}/ttl

Path parameters

zone_namestring required

The name of the zone.

Example:example.com

The name of the zone.

namestring required

The DNS name, not including the zone portion.

Example:dns-name

The DNS name, not including the zone portion.

dns_type'A' | 'AAAA' | 'CAA' | 'CNAME' | 'MX' | 'NS' | 'SRV' | 'TXT' | 'PTR' | '_URL' | 'ALIAS' required

DNS name type supported by API

Example:A

DNS name type supported by API

Request body

ttlinteger required

Time to live (seconds)

Example request

{
  "ttl": 60
}

Response

resource updated