/v1/api/ipLists (POST) - BlueCat DNS Edge

DNS Edge API Guide (Service Point v4)

Locale
English
Product name
BlueCat DNS Edge

Creates a new IP list.

POST https://api-<DNS.Edge.URL>/v1/api/ipLists
Authorization: Bearer token
Content-Type: application/json
            
{
  "name": "IP List 1",
  "description": "Ip List used for blocking"
}

Parameters

Name Description Type Required
name The name of the IP list. String Required
description A description of the IP list. String Optional

Successful response

201 CONTENT

Location: "https://api-demo-ci.bluecat.io./v1/ipLists/0d198666-c434-438c-99d7-573b10e2633f"

Response on unsuccessful authorization

401 Unauthorized
Content-Type: application/JSON
{"code": "UNAUTHORIZED", "brief": "You are not authorized to perform this action"}
Possible error codes
  • 400 Bad Request
  • 409 IP List with same name already exist
  • 500 Internal Server Error