Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Interfaces > Delete URLs and IP addresses from an API-managed category
Delete URLs and IP addresses from an API-managed category
Management API Guide | TRITON AP-WEB | v8.3.x
The following DELETE or POST command can be used to remove URLs, IP addresses, and ranges from a specific API-managed category.
 
JSON request
The JSON request has a list of URLs, IP addresses, or both to delete from the given category.
*
The total number of items deleted of each type reflects the actual number removed from the system, and not any skipped items.
*
*
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 
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": ["*"]
}
JSON response for deleting custom URLs and IP addresses from a category
{
"Category Name":"Malicious_01_01_2016",
"Category ID":2156,
"Deleted ":
{
"Deleted URLs":2,
"Deleted IPs":5
}
}
Response codes
 
JSON for bad request
{
"Error" :
[
"Not in a transaction",
"Other Error Messages"
]
}
 
Note 

Go to the table of contents Go to the previous page Go to the next page View or print as PDF
Interfaces > Delete URLs and IP addresses from an API-managed category
Copyright 2016 Forcepoint LLC. All rights reserved.