Show zone version differences

GET https://{{host}}/config-dns/v2/zones/:zone/versions/diff?from={{from}}&to={{to}}

Displays the difference between any two versions of a zone, as specified in the query parameters.

Request Params

KeyDatatypeRequiredDescription
fromstring(Required) The base zone version ID.
tostring(Required) The version ID to compare against the base version.
accountSwitchKeystring(Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"diffs":{"recordSetDiffs":[{"fromValue":{"rdata":["192.0.2.73"],"ttl":100},"name":"www.example.com","operation":"DELETE","type":"A"}],"settingsDiffs":[{"fieldName":"comment","fromValue":"old comment","operation":"EDIT","toValue":"new comment"}]},"metadata":{"fromVersionId":"9a274847-11b6-4589-b445-33c2de5b1747","fromVersionLastModifiedDate":"2021-12-25T00:00:00Z","toVersionId":"a41df66e-fd52-4da6-b963-c92d3f7db4d3","toVersionLastModifiedDate":"2021-12-25T00:00:00Z"}}