Skip to main content
POST
/
deployments
/
traffic-filter
/
rulesets
/
{ruleset_id}
/
associations
Create ruleset association
curl --request POST \
  --url https://api.elastic-cloud.com/api/v1/deployments/traffic-filter/rulesets/{ruleset_id}/associations \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "entity_type": "<string>",
  "id": "<string>"
}'
{}

Authorizations

Authorization
string
header
required

Path Parameters

ruleset_id
string
required

(Required) The mandatory ruleset ID.

Example:

"<string>"

Body

application/json
entity_type
string
Example:

"<string>"

id
string
Example:

"<string>"

Response

Create association request was valid and the association already exists

The response is of type object.

I