Attention: The v1 version of this API has been
deprecated.
Creates a new IP list.
POST https://api-<BlueCat.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