Attention: The v1 version of this API has been
deprecated.
Updates the content of an existing IP list by adding or deleting CIDRs.
Note: The request body contains two set of CIDRs that are delimited by "-". CIDRs that
follow the "-" will be removed and CIDRs before the "-" will be added.
PATCH https://api-<BlueCat.edge.url>/v1/ipLists/{id}/contents
Authorization: Bearer authorization token
Content-type: text/plain
192.168.0.1/32\n
192.168.0.0/24\n
-\n
10.100.0.1/32\n
10.100.10.0/24
Successful response
200
{
"newIPCount": 1,
"deletedIPCount": 2,
"invalidCount": 3
}
Possible error codes
- 400 Bad Request
- 404 IP List was not found
- 500 Internal Server Error