Updates the IP list contents by ID.
Note: You can only update user type IP lists.
PUT https://api-<BlueCat.edge.url>/v2/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>/v2/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
}
Possible error codes
- 401 Unauthorized
- 404 IP List was not found
- 500 Internal Server Error