Create ruleset association
开发环境
http://127.0.0.1
开发环境
http://127.0.0.1
POST
/deployments/traffic-filter/rulesets/{ruleset_id}/associations
DeploymentsTrafficFilter
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1/deployments/traffic-filter/rulesets//associations' \
--header 'Authorization: ApiKey {{EC_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "string",
"entity_type": "string"
}'
响应示例响应示例
200 - 示例 1
{}
请求参数
Path 参数
ruleset_id
必需
Header 参数
Authorization
string
可选
默认值:
ApiKey {{EC_API_KEY}}
Body 参数application/json