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
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
org | path | string | yes | for example "org_01h455vb4pex5vsknk084sn02q" |
zone | path | string | yes | for example "zone_01h455vb4pex5vsknk084sn02q" |
x-obhut-management-assignment | header | string | no | Select 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
| Field | Type | Required | Notes |
|---|---|---|---|
items | array of object | yes | |
items[].zoneId | string | yes | for example "zone_01h455vb4pex5vsknk084sn02q" |
items[].hostnameId | string | yes | for example "hostname_01h455vb4pex5vsknk084sn02q" |
items[].revision | string or null | yes | |
items[].vpatchMode | string or null | yes | |
items[].exceptions | array of object | yes | |
items[].exceptions[].id | string | yes | for example "wafx_01h455vb4pex5vsknk084sn02q" |
items[].exceptions[].name | string | yes | |
items[].exceptions[].condition | string | yes | |
items[].exceptions[].languageVersion | integer | yes | more than 0 |
items[].exceptions[].rules | array of integer | yes | |
items[].updatedAt | string (date-time) or null | yes |