DNS Zone
put/dnszone/{zoneId}/records

Request

Path parameters

zoneIdinteger required

The DNS Zone ID to which the record will be added.

Request body

Type0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15

0 = A 1 = AAAA 2 = CNAME 3 = TXT 4 = MX 5 = Redirect 6 = Flatten 7 = Pull Zone 8 = SRV 9 = CAA 10 = PTR 11 = Script 12 = NS 13 = SVCB 14 = HTTPS 15 = TLSA

Ttlinteger nullable
Valuestring nullable
Namestring nullable
Weightinteger nullable
Priorityinteger nullable
Flagsinteger nullable
Tagstring nullable
Portinteger nullable
PullZoneIdinteger nullable
ScriptIdinteger nullable
Acceleratedboolean nullable
MonitorType0 | 1 | 2 | 3

0 = None 1 = Ping 2 = HTTP 3 = Monitor

GeolocationLatitudenumber double nullable
GeolocationLongitudenumber double nullable
LatencyZonestring nullable
SmartRoutingType0 | 1 | 2

0 = None 1 = Latency 2 = Geolocation

Disabledboolean nullable
Commentstring nullable
AutoSslIssuanceboolean nullable

Response

The DNS record was successfully added.

Idinteger
Type0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15

0 = A 1 = AAAA 2 = CNAME 3 = TXT 4 = MX 5 = Redirect 6 = Flatten 7 = Pull Zone 8 = SRV 9 = CAA 10 = PTR 11 = Script 12 = NS 13 = SVCB 14 = HTTPS 15 = TLSA

Ttlinteger
Valuestring nullable
Namestring nullable
Weightinteger
Priorityinteger
Portinteger
Flagsinteger
Tagstring nullable
Acceleratedboolean
AcceleratedPullZoneIdinteger
LinkNamestring nullable
MonitorStatus0 | 1 | 2

0 = Unknown 1 = Online 2 = Offline

MonitorType0 | 1 | 2 | 3

0 = None 1 = Ping 2 = HTTP 3 = Monitor

GeolocationLatitudenumber double
GeolocationLongitudenumber double
LatencyZonestring nullable
SmartRoutingType0 | 1 | 2

0 = None 1 = Latency 2 = Geolocation

Disabledboolean
Commentstring nullable
AutoSslIssuanceboolean
AccelerationStatus0 | 1 | 2 | 3 | 4

0 = None 1 = Pending 2 = Processing 3 = Completed 4 = Failed

Changes

    • breaking

      added to the response property oneOf list for the response status

    • breaking

      added to the response property oneOf list for the response status

    • breaking

      added to the response property oneOf list for the response status

    • breaking

      added to the response property oneOf list for the response status

    • breaking

      added to the response property oneOf list for the response status

    • breaking

      the response's property type changed from integer to no type for status

    • breaking

      the response's property type changed from integer to no type for status

    • breaking

      the response's property type changed from integer to no type for status

    • breaking

      the response's property type changed from integer to no type for status

    • breaking

      the response's property type changed from integer to no type for status

    • info

      removed the 0.00 enum value from the response property for the response status

    • info

      removed the 0.00 enum value from the response property for the response status

    • info

      removed the 0.00 enum value from the response property for the response status

    • info

      removed the 0.00 enum value from the response property for the response status

    • info

      removed the 0.00 enum value from the response property for the response status

    • info

      removed the 1.00 enum value from the response property for the response status

    • info

      removed the 1.00 enum value from the response property for the response status

    • info

      removed the 1.00 enum value from the response property for the response status

    • info

      removed the 1.00 enum value from the response property for the response status

    • info

      removed the 1.00 enum value from the response property for the response status

    • info

      removed the 10.00 enum value from the response property for the response status

    • info

      removed the 11.00 enum value from the response property for the response status

    • info

      removed the 12.00 enum value from the response property for the response status

    • info

      removed the 13.00 enum value from the response property for the response status

    • info

      removed the 14.00 enum value from the response property for the response status

    • info

      removed the 15.00 enum value from the response property for the response status

    • info

      removed the 2.00 enum value from the response property for the response status

    • info

      removed the 2.00 enum value from the response property for the response status

    • info

      removed the 2.00 enum value from the response property for the response status

    • info

      removed the 2.00 enum value from the response property for the response status

    • info

      removed the 2.00 enum value from the response property for the response status

    • info

      removed the 3.00 enum value from the response property for the response status

    • info

      removed the 3.00 enum value from the response property for the response status

    • info

      removed the 3.00 enum value from the response property for the response status

    • info

      removed the 4.00 enum value from the response property for the response status

    • info

      removed the 4.00 enum value from the response property for the response status

    • info

      removed the 5.00 enum value from the response property for the response status

    • info

      removed the 6.00 enum value from the response property for the response status

    • info

      removed the 7.00 enum value from the response property for the response status

    • info

      removed the 8.00 enum value from the response property for the response status

    • info

      removed the 9.00 enum value from the response property for the response status