It is time to say goodbye: This version of Elastic Cloud Enterprise has reached end-of-life (EOL) and is no longer supported.
The documentation for this version is no longer being maintained. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
List traffic filter rulesets
editList traffic filter rulesets
editList all of the traffic filter rulesets.
Request
editGET /api/v1/deployments/traffic-filter/rulesets
Query parameters
editName | Type | Required | Description |
---|---|---|---|
|
|
N |
Retrieves a list of resources that are associated to the specified ruleset. |
|
|
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
editcurl -XGET https://{{hostname}}/api/v1/deployments/traffic-filter/rulesets \ -H "Authorization: ApiKey $ECE_API_KEY"