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

DNS Edge User Guide

Locale
English (United States)
Product name
BlueCat DNS Edge

Returns the IP list contents by ID.

GET https://api-<DNS.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