List traffic filter rulesets

edit

List all of the traffic filter rulesets.

Request

edit

GET /api/v1/deployments/traffic-filter/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.

organization_id

string

N

Retrieves a list of resources that are associated to the specified organization ID. It only takes effect if the user is an admin.

region

string

N

If provided limits the rulesets to that region only.

Responses

edit
200

(TrafficFilterRulesets)

The collection of traffic filter routes

500

(BasicFailedReply)

Error fetching traffic filter rulesets. (code: traffic_filter.request_execution_failed)

Headers

x-cloud-error-codes (string; allowed values: [traffic_filter.request_execution_failed])
The error codes associated with the response

Request example

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