Filters
filters
Methods
Deprecated
delete/zones/{zone_id}/filters
Deletes one or more existing filters.
Deprecated
put/zones/{zone_id}/filters
Updates one or more existing filters.
Security
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example: X-Auth-Email: user@example.com
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example: X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194
Accepted Permissions (at least one required)
Firewall Services Write
Parameters
zone_id: string
Identifier
Response fields
success: true
Whether the API call was successful
result_info: { count, page, per_page, 1 more... }
Optional
Request example
200Example
Deprecated
post/zones/{zone_id}/filters
Creates one or more filters.
Deprecated
delete/zones/{zone_id}/filters/{filter_id}
Deletes an existing filter.
Deprecated
get/zones/{zone_id}/filters/{filter_id}
Fetches the details of a filter.
Deprecated
get/zones/{zone_id}/filters
Fetches filters in a zone. You can filter the results using several optional parameters.
Deprecated
put/zones/{zone_id}/filters/{filter_id}
Updates an existing filter.
Domain types
FirewallFilter = { id, description, expression, 2 more... }