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.
Deprecated
post/zones/{zone_id}/filters
Creates one or more filters.
Security
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example: Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY
Accepted Permissions (at least one required)
Firewall Services Write
path Parameters
zone_id: string
(maxLength: 32)Defines an identifier.
Response fields
success: true
Defines whether the API call was successful.
result_info: { count, page, per_page, 1 more... }
Optional
Request example
200Example
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... }