Path Parameters
Body
application/json
Response
UpdateZoneResponse
The response is of type object
.
curl --request PUT \
--url https://api.___serverhost___/dns/v2/zones/{name} \
--header 'Content-Type: application/json' \
--data '{
"contact": "<string>",
"enabled": true,
"expiry": 123,
"meta": "{\"webhook\": \"http://example.com/hook\",\"webhook_method\":\"PUT\"}",
"name": "example.com",
"nx_ttl": 123,
"primary_server": "<string>",
"refresh": 123,
"retry": 123,
"serial": 123
}'
{}
Update DNS zone and SOA record.
curl --request PUT \
--url https://api.___serverhost___/dns/v2/zones/{name} \
--header 'Content-Type: application/json' \
--data '{
"contact": "<string>",
"enabled": true,
"expiry": 123,
"meta": "{\"webhook\": \"http://example.com/hook\",\"webhook_method\":\"PUT\"}",
"name": "example.com",
"nx_ttl": 123,
"primary_server": "<string>",
"refresh": 123,
"retry": 123,
"serial": 123
}'
{}
UpdateZoneResponse
The response is of type object
.
Was this page helpful?