/v1/api/ipLists/{id}/contents (PUT) - BlueCat Edge - Service Point v3.x.x

BlueCat Edge API Guide

Locale
English
Product name
BlueCat Edge
Version
Service Point v3.x.x

Updates the IP list contents by ID.

PUT https://api-<BlueCat.edge.url>/v1/api/ipLists/{id}/contents
Authorization: Bearer token
Content-Type: application/json

    [
      "192.168.0.1/32"
      "192.168.0.0/24"
    ]

OR

PUT https://api-<BlueCat.edge.url>/v1/api/ipLists?/ipListsId/contents
Authorization: Bearer token
Content-Type: text/plain

192.168.0.1/32\n
192.168.0.0/24

Parameters

Name Description Type Required
id The ID of the IP list. String Required

Successful response

200

{
   "validCount": 1,
   "duplicateCount": 2,
   "invalidCount": 3
}
Possible error codes
  • 401 Unauthorized - Missing or invalid token
  • 403 Forbidden - You are not authorized to perform this action
  • 404 IP List was not found
  • 500 Internal Server Error