Deleting entries from IP GroupsΒΆ
Use this command to remove a single IP from a specific IP Group. The rule_id
is required and can be obtained by viewing the rules of an IP Group. The update
action also has an optional removed
field that can be used to delete rules from an IP Group.
Example API call:
curl --location --insecure --request POST '{{scrutinizer}}/fcgi/scrut_fcgi.fcgi' \
--header 'Content-Type: application/json' \
--form 'authToken={{authToken}}' \
--form 'rm=ipgroups' \
--form 'action=deleteRule' \
--form 'rule_id=506588'
JSON object returned:
{
"fc_id": 16900006,
"success": 1,
"myrules": "",
"rule_id": "506588",
"total": 0
}