Delete ruleset association

edit

Deletes the traffic rules in the ruleset from the deployment.

Request

edit

DELETE /api/v1/deployments/ip-filtering/rulesets/{ruleset_id}/associations/{association_type}/{associated_entity_id}

Path parameters

edit
Name Type Required Description

associated_entity_id

string

Y

Mandatory associated entity ID

association_type

string

Y

Mandatory association type ID

ruleset_id

string

Y

Mandatory ruleset ID

Responses

edit
200

(EmptyResponse) Delete association request was valid and the association has been deleted

449

(BasicFailedReply) Elevated permissions are required. (code: '"root.unauthorized.rbac.elevated_permissions_required"')

500

(BasicFailedReply) Request execution failed (code: 'ip_filtering.request_execution_failed')

To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.

Request example

edit
curl -XDELETE https://{{hostname}}/api/v1/deployments/ip-filtering/rulesets/{ruleset_id}/associations/{association_type}/{associated_entity_id} \
-H "Authorization: ApiKey $ECE_API_KEY"