Create ruleset association
Applies the ruleset to the specified deployment.
Responses
-
Create association request was valid and the association already exists
-
Create association request was valid and the association has been created
-
The traffic filter ruleset specified by {ruleset_id} cannot be found. (code:
traffic_filter.not_found
) -
Creation failed. (code:
traffic_filter.request_execution_failed
)
POST
/deployments/traffic-filter/rulesets/{ruleset_id}/associations
curl \
--request POST 'http://api.elastic-cloud.com/api/v1/deployments/traffic-filter/rulesets/{ruleset_id}/associations' \
--header "Content-Type: application/json" \
--data '{"entity_type":"string","id":"string"}'