WAF

Update a WAF rule.

Replaces the configuration of an existing web application firewall rule.

put/v1/waf/rules/{id}

Request

  • Base URL: https://api.scalix.world
  • URL: https://api.scalix.world/v1/waf/rules/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Rule id (UUID)

Request body

namestring required
action'block' | 'log' | 'challenge' | 'rate_limit' required
priorityinteger
enabledboolean

SEC-6: enable/disable a rule. Defaults to enabled on create; on update, this is what makes the toggle actually work (the old update ignored it).

Response

Rule updated

idstring uuid required
tenant_idstring

Owning project/tenant. SEC-2: rules and their enforcement are scoped to this — a rule is only ever applied to its own tenant's traffic, and only its owner can see/update/delete it.

namestring required
action'block' | 'log' | 'challenge' | 'rate_limit' required
priorityinteger required
enabledboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.