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"
Possible error codes
- 400 Bad Request
- 401 Unauthorized - Missing or invalid token
- 403 Forbidden - You are not authorized to perform this action
- 409 IP List with same name already exist
- 500 Internal Server Error