Creates a new IP list.
POST https://api-<BlueCat.edge.url>/v2/api/ipLists
Authorization: Bearer token
Content-Type: application/json
{
"name": "IP List 1",
"description": "Ip List used for blocking",
"type": "user"
}
Parameters
Name | Description | Type | Required |
name | The name of the IP list. | String | Required |
description | A description of the IP list. | String | Optional |
type | The type of IP list. For user-defined lists, the value must be user | String | Required |
Successful response
201 CONTENT
Location: "https://api-demo-ci.bluecat.io./v2/ipLists/0d198666-c434-438c-99d7-573b10e2633f"
Possible error codes
- 400 Bad Request
- 401 Unauthorized
- 409 IP List with same name already exist
- 500 Internal Server Error