API reference · WAF
Read a hostname's own WAF settings
GET
/v1/orgs/{org}/zones/{zone}/hostnames/{hostname}/waf- Permission
waf.settings.read- Operation
waf.hostnames.get
Parameters
| Name | In | Type | Required | Notes |
|---|---|---|---|---|
org | path | string | yes | for example "org_01h455vb4pex5vsknk084sn02q" |
zone | path | string | yes | for example "zone_01h455vb4pex5vsknk084sn02q" |
hostname | path | string | yes | for example "hostname_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 |
|---|---|---|---|
zoneId | string | yes | for example "zone_01h455vb4pex5vsknk084sn02q" |
hostnameId | string | yes | for example "hostname_01h455vb4pex5vsknk084sn02q" |
revision | string or null | yes | |
vpatchMode | string or null | yes | |
exceptions | array of object | yes | |
exceptions[].id | string | yes | for example "wafx_01h455vb4pex5vsknk084sn02q" |
exceptions[].name | string | yes | |
exceptions[].condition | string | yes | |
exceptions[].languageVersion | integer | yes | more than 0 |
exceptions[].rules | array of integer | yes | |
updatedAt | string (date-time) or null | yes |