API referenceSections

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/defaults

The provider's firewall defaults for sites of its servers (ADR 0106)

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired

Responses

200 Defaults

Content type: application/json

  • new_site_mode string required

    Mode 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"
  • paranoia integer required
  • threshold integer required
  • fail_mode string required
    Allowed values: "open" "closed"
  • body_limit_kb integer required
  • over_limit string required
    Allowed 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

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required