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

BlueCat Edge User Guide

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

Returns the IP list contents by ID.

GET https://api-<BlueCat.edge.url>/v1/api/ipLists/{id}/contents
Authorization: Bearer token

Parameters

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

Successful response

200 OK
Content-Type: application/JSON
            
[
          
     "192.168.0.1/32"
     "192.168.0.0/24"
            
]

OR

200 OK
Content-Type: text/plain

192.168.0.1/32\n
192.168.0.0/24
Possible error codes
  • 401 Unauthorized - Missing or invalid token
  • 404 IP List was not found
  • 500 Internal Server Error