IPs
Retrieve Criteria IP List of a session server with the specified ID.
The ID of a session server for which to retrieve the Criteria settings.
The ID of the Rule to retrieve.
Success
Unauthorized
Not Found
GET /api/PubItems/{id}/Rules/{ruleId}/Criteria/IPs HTTP/1.1
Host:
Accept: */*
{
"iPv4s": [
{
"from": "text",
"to": "text"
}
],
"iPv6s": [
{
"from": "text",
"to": "text"
}
]
}
Add an IP to the IP List of the Criteria settings.
The ID of a session server for which to modify the Criteria settings.
The ID of the Rule to retrieve.
Add an IP to the Criteria IP list
Value that represents the IP
IP Version
Created
No content
Unauthorized
Not Found
Conflict
POST /api/PubItems/{id}/Rules/{ruleId}/Criteria/IPs HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 73
{
"ip": "text",
"ipType": [
"0 = Version4",
"1 = Version6",
"2 = BothVersions"
]
}
No content
Remove an IP from the IP List of the Criteria settings.
The ID of a session server for which to modify the Criteria settings.
The ID of the Rule to retrieve.
Remove an IP from the Criteria IP list
Value that represents the IP
IP Version
No Content
No content
Unauthorized
Not Found
DELETE /api/PubItems/{id}/Rules/{ruleId}/Criteria/IPs HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 73
{
"ip": "text",
"ipType": [
"0 = Version4",
"1 = Version6",
"2 = BothVersions"
]
}
No content
Was this helpful?