Delete custom rules

Prev Next

API URL

<ips-api-base>/custom_rules/delete

Sample curl request

curl -gsvk -X POST --header "$c" --header "Content-Type: application/json" --data '[85000001, 85000002]' "https://<host>/wsapis/v2.0.0/ips/custom_rules/delete"

curl -gsvk -X POST -H "$c"  "https://<host>/wsapis/v2.0.0/ips/custom_rules/delete"

Authentication

Standard WSAPI authentication

Method

POST

Request body

JSON array: [85000001, 85000002] - deletes rules which match with the IDs provided

If no request body/empty array is provided - deletes all the custom rules

Response mime type

application/json