Docs

API reference · Origins and routes

Which origin each hostname of the zone goes to

GET/v1/orgs/{org}/zones/{zone}/routes
Permission
origins.origins.read
Operation
origins.routes.list

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
itemsarray of objectyes
items[].hostnameIdstringyesfor example "hostname_01h455vb4pex5vsknk084sn02q"
items[].zoneIdstringyesfor example "zone_01h455vb4pex5vsknk084sn02q"
items[].originIdstringyesfor example "origin_01h455vb4pex5vsknk084sn02q"
items[].revisionstringyesOpaque revision: dot-joined counters.
items[].createdAtstring (date-time)yesUTC, ISO 8601.
items[].updatedAtstring (date-time)yesUTC, ISO 8601.