The provider's firewall defaults for sites of its servers
Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication
GET
/api/v1/tenants/{tid}/waf/defaultsThe provider's firewall defaults for sites of its servers (ADR 0106)
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required |
Responses
200 Defaults
Content type: application/json
new_site_modestring requiredMode a site created on the provider's servers starts in, when its plan includes the firewall and the server has URL Rewrite and ARR (R34). Built in: off. Left out of a PUT means off.
Allowed values:"off""detect""block"paranoiainteger requiredthresholdinteger requiredfail_modestring requiredAllowed values:"open""closed"body_limit_kbinteger requiredover_limitstring requiredAllowed values:"partial""reject"
Example
{
"new_site_mode": "off",
"paranoia": 0,
"threshold": 0,
"fail_mode": "open",
"body_limit_kb": 0,
"over_limit": "partial"
}default Error
Content type: application/json
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required