IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Get associated rulesets
editGet associated rulesetsedit
Retrieves the rulesets associated with a deployment.
Requestedit
GET /api/v1/deployments/traffic-filter/associations/{association_type}/{associated_entity_id}/rulesets
Path parametersedit
Name | Type | Required | Description |
---|---|---|---|
|
|
Y |
Associated entity ID |
|
|
Y |
Association type |
Responsesedit
-
200
-
Rulesets in the deployment were successfully returned
-
400
-
Invalid association type. (code:
traffic_filter.invalid_association_type
)Headers
-
x-cloud-error-codes
(string
; allowed values: [traffic_filter.invalid_association_type
]) - The error codes associated with the response
-
-
500
-
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 exampleedit
curl -XGET https://{{hostname}}/api/v1/deployments/traffic-filter/associations/{association_type}/{associated_entity_id}/rulesets \ -H "Authorization: ApiKey $ECE_API_KEY"