SecondaryZones

Update secondary zone

Changed on

Update a secondary zone by name.

patch/dns/v2/secondary-zones/{zoneName}

Request

  • Base URL
    https://api.gcore.com
  • URL
    https://api.gcore.com/dns/v2/secondary-zones/{zoneName}
  • Auth
    HTTP apikey

Path parameters

zoneNamestring required

Request body

enabledboolean
metaobject
poll_intervalinteger
transfer_mode'push' | 'pull' | 'both'

Transfer mode.

tsig_algorithmstring

One of hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha384, hmac-sha512, with or without a trailing dot. Normalized and returned in canonical dotted form. Required together with tsig_key_name and tsig_secret; must not be set alone.

tsig_key_namestring
tsig_secretstring
use_tlsboolean

Response

SecondaryZoneResponse

client_idinteger
created_atstring date-time
enabledboolean
idinteger
last_serialinteger
last_transfer_atstring date-time
metaobject
poll_intervalinteger
transfer_modestring
tsig_algorithmstring
tsig_key_namestring
updated_atstring date-time
use_tlsboolean
zone_namestring

Changes