Attention: The v1 version of this API has been
deprecated.
Updates the IP list contents by ID.
PUT https://api-<BlueCat.edge.url>/v1/api/ipLists/{id}/contents
Authorization: Bearer token
Content-Type: application/json
[
"192.168.0.1/32"
"192.168.0.0/24"
]
OR
PUT https://api-<BlueCat.edge.url>/v1/api/ipLists?/ipListsId/contents
Authorization: Bearer token
Content-Type: text/plain
192.168.0.1/32\n
192.168.0.0/24
Parameters
Name | Description | Type | Required |
id | The ID of the IP list. | String | Required |
Successful response
200
{
"validCount": 1,
"duplicateCount": 2,
"invalidCount": 3
}
Response on unsuccessful authorization
401 Unauthorized
Content-Type: application/JSON
{"code": "UNAUTHORIZED", "brief": "You are not authorized to perform this action"}
Possible error codes
- 404 IP List was not found
- 500 Internal Server Error