Docs

API reference · WAF

List the zone's hostnames that have WAF settings of their own

GET/v1/orgs/{org}/zones/{zone}/waf/hostnames
Permission
waf.settings.read
Operation
waf.hostnames.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[].zoneIdstringyesfor example "zone_01h455vb4pex5vsknk084sn02q"
items[].hostnameIdstringyesfor example "hostname_01h455vb4pex5vsknk084sn02q"
items[].revisionstring or nullyes
items[].vpatchModestring or nullyes
items[].exceptionsarray of objectyes
items[].exceptions[].idstringyesfor example "wafx_01h455vb4pex5vsknk084sn02q"
items[].exceptions[].namestringyes
items[].exceptions[].conditionstringyes
items[].exceptions[].languageVersionintegeryesmore than 0
items[].exceptions[].rulesarray of integeryes
items[].updatedAtstring (date-time) or nullyes