Get associated rulesets
Retrieves the rulesets associated with a deployment.
Path parameters
-
Association type
-
Associated entity ID
GET /deployments/traffic-filter/associations/{association_type}/{associated_entity_id}/rulesets
curl \
-X GET https://api.elastic-cloud.com/api/v1/deployments/traffic-filter/associations/{association_type}/{associated_entity_id}/rulesets
Response examples (200)
{
"rulesets": [
"string"
]
}
Response examples (400)
# Headers
x-cloud-error-codes: traffic_filter.invalid_association_type
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}
Response examples (500)
# Headers
x-cloud-error-codes: traffic_filter.request_execution_failed
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}