Get all rulesets

edit

DEPRECATED: Retrieves all of the user rulesets. Deprecated in favor of traffic-filter endpoints.

Request

edit

GET /api/v1/deployments/ip-filtering/rulesets

Query parameters

edit
Name Type Required Description

include_associations

boolean; default: false

N

Retrieves a list of resources that are associated to the specified ruleset.

Responses

edit
200

(IpFilterRulesets)

The IP filter rulesets for the user were successfully returned

500

(BasicFailedReply)

The request execution failed (code: 'ip_filtering.request_execution_failed')

Request example

edit
curl -XGET https://{{hostname}}/api/v1/deployments/ip-filtering/rulesets \
-H "Authorization: ApiKey $ECE_API_KEY"