Docs

API reference · Proxy

List the hostnames with their lifecycle summaries

GET/v1/orgs/{org}/zones/{zone}/proxy/hostnames
Permission
proxy.hostnames.read
Operation
proxy.hostnames.list

Parameters

NameInTypeRequiredNotes
orgpathstringyesfor example "org_01h455vb4pex5vsknk084sn02q"
zonepathstringyesfor example "zone_01h455vb4pex5vsknk084sn02q"
limitqueryintegerno1 to 100; default 50
cursorquerystringno0 to 200 characters
qquerystringno0 to 64 characters
phasequerystringnoone of "configured", "preparing", "ready", "awaiting_dns", "enabling", "enabled", "disabling"
originquerystringnofor example "origin_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[].namestringyes
items[].modestringyesone of "off", "prepared", "enabled"
items[].phasestringyesone of "configured", "preparing", "ready", "awaiting_dns", "enabling", "enabled", "disabling"
items[].blockedbooleanyes
items[].healthstringyesone of "ok", "degraded", "unknown"
items[].routestringyesone of "applied", "pending", "inactive", "missing", "unavailable"
items[].updatedAtstring (date-time)yesUTC, ISO 8601.
nextCursorstring or nullyes