Skip to content
Start here

Filters

List filters
Deprecated
client.Filters.List(ctx, params) (*V4PagePaginationArray[FirewallFilter], error)
GET/zones/{zone_id}/filters
Get a filter
Deprecated
client.Filters.Get(ctx, filterID, query) (*FirewallFilter, error)
GET/zones/{zone_id}/filters/{filter_id}
Create filters
Deprecated
client.Filters.New(ctx, params) (*SinglePage[FirewallFilter], error)
POST/zones/{zone_id}/filters
Update a filter
Deprecated
client.Filters.Update(ctx, filterID, params) (*FirewallFilter, error)
PUT/zones/{zone_id}/filters/{filter_id}
Delete a filter
Deprecated
client.Filters.Delete(ctx, filterID, body) (*FilterDeleteResponse, error)
DELETE/zones/{zone_id}/filters/{filter_id}
Update filters
Deprecated
client.Filters.BulkUpdate(ctx, params) (*SinglePage[FirewallFilter], error)
PUT/zones/{zone_id}/filters
Delete filters
Deprecated
client.Filters.BulkDelete(ctx, params) (*[]FilterBulkDeleteResponse, error)
DELETE/zones/{zone_id}/filters
ModelsExpand Collapse
type FirewallFilter struct{…}
ID stringoptional

The unique identifier of the filter.

maxLength32
minLength32
Description stringoptional

An informative summary of the filter.

maxLength500
Expression stringoptional

The filter expression. For more information, refer to Expressions.

Paused booloptional

When true, indicates that the filter is currently paused.

Ref stringoptional

A short reference tag. Allows you to select related filters.

maxLength50