/v1/api/ipLists/{id}/contents (PATCH) - BlueCat DNS Edge

DNS Edge User Guide (Fleet Service Point)

English (United States)
Product name
BlueCat DNS Edge

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-<DNS.Edge.URL>/v1/ipLists/{id}/contents 
Authorization: Bearer authorization token
Content-type: text/plain

Successful response


     "newIPCount": 1,
     "deletedIPCount": 2,
     "invalidCount": 3
Possible error codes
  • 400 Bad Request
  • 404 IP List was not found
  • 500 Internal Server Error