Docs

API reference · DNS

Read what publication last established for the zone

GET/v1/orgs/{org}/zones/{zone}/dns/publication
Permission
dns.records.read
Operation
dns.publication.get

Parameters

NameInTypeRequiredNotes
orgpathstringyesfor example "org_01h455vb4pex5vsknk084sn02q"
zonepathstringyesfor example "zone_01h455vb4pex5vsknk084sn02q"
x-obhut-management-assignmentheaderstringnoSelect one staff assignment. Direct membership remains the default. Bound API tokens use their stored source and ignore this selector. For example "masg_01h455vb4pex5vsknk084sn02q"

Response 200

FieldTypeRequiredNotes
statestringyesone of "confirmed", "pending", "failed", "unknown", "withdrawn"
desiredSerialintegeryes0 to ∞
confirmedSerialinteger or nullyes
lastAttemptAtstring (date-time) or nullyes
confirmedAtstring (date-time) or nullyes
nextAttemptAtstring (date-time) or nullyes
errorobject or nullyes
error.codestringyes
error.atstring (date-time)yesUTC, ISO 8601.