Docs

API reference · DNS

Write the chosen records of an import into the zone, as records of the zone's own

POST/v1/orgs/{org}/zones/{zone}/dns/imports/{import}/apply
Permission
dns.records.manage
Audit log
dns.import.apply
Operation
dns.imports.apply

Parameters

NameInTypeRequiredNotes
orgpathstringyesfor example "org_01h455vb4pex5vsknk084sn02q"
zonepathstringyesfor example "zone_01h455vb4pex5vsknk084sn02q"
importpathstringyesfor example "import_01h455vb4pex5vsknk084sn02q"
Idempotency-KeyheaderstringnoOne key per intended mutation. A retry with the key replays the recorded response instead of executing again; the key with another request answers 422 idempotency_key_reused. For example "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"

Request body

FieldTypeRequiredNotes
candidatesarray of integeryes1 to 10000 items

Response 200

FieldTypeRequiredNotes
createdintegeryes0 to ∞
existingintegeryes0 to ∞