Skip to content

Delete a zone's WAF rule

DELETE
/api/zones/{zoneId}/security/waf-rules/{id}

Permanently deletes a zone-owned WAF rule.

Authorizations

ApiToken

Long-lived API token created via POST /api/api-tokens (returned once in plaintext).

Type
API Key (header: X-API-TOKEN)
or
JWT

JWT access token obtained via POST /api/auth/login. Send as: Authorization: Bearer .

Type
HTTP (bearer)

Parameters

Path Parameters

zoneId*

Zone identifier

Type
string
Required
id*

waf-rule identifier

Type
string
Required

Responses

waf-rule resource deleted

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI