JSON request

The JSON request has a list of URLs, IP addresses, or both to delete from the given category.

  • If a URL, IP address, or range is not found, processing continues to the next URL, IP address, or range.

    The total number of items deleted of each type reflects the actual number removed from the system, and not any skipped items.

  • If a URL, IP address, or range has another category associated with it, the item remains in that second category, but is still included in the count of deleted items (since it was removed from the first category).
  • The total number of items deleted can be higher than expected if duplicates exist and are removed.

Example 1:

{
"Transaction ID":"44081c08-453a-11e6-a9de-d99213c464e0", 
"Category ID":1945,
"URLs": 
[
"http://www.test1.com/test1", 
"http://www.test1.com/test2", 
"http://www.test1.com/test3" 
], 
"IPs": 
[
"167.34.15.117",
"167.34.16.118-167.34.16.120",
"2045:1221:1231::1331" 
"24.56.8.0/23",
"55AF:F451::/32"
]
}

Example 2:

{
"Transaction ID":"44081c08-453a-11e6-a9de-d99213c464e0", 
"Category Name":"Malicious 10_05_2017",
"URLs": 
[
"http://www.test1.com/test1", 
"http://www.test1.com/test2", 
"http://www.test1.com/test3" 
], 
"IPs": 
[
"167.34.15.117",
"167.34.16.118-167.34.16.120",
"2045:1221:1231::1331" 
"24.56.8.0/23",
"55AF:F451::/32"
]
}

You can use the * wildcard to delete all custom URLs and IP addresses from a specific category. The category itself is not deleted.

Important: While you can use “*” to delete all URLs and IP addresses from an API-managed category, other uses of wildcards and regular expressions are not supported.

Example 3:

{
"Transaction ID":"44081c08-453a-11e6-a9de-d99213c464e0", 
"Category ID":2156,
"URLs": ["*"],
"IPs": ["*"]
}

Example 4:

{
"Transaction ID":"44081c08-453a-11e6-a9de-d99213c464e0", 
"Category Name":"Malicious_01_01_2016",
"URLs": ["*"],
"IPs": ["*"]
}