For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

IPs

List

get

Retrieve Criteria IP List of a session server with the specified ID.

Path parameters
idinteger · int32Required

The ID of a session server for which to retrieve the Criteria settings.

ruleIdinteger · int32Required

The ID of the Rule to retrieve.

Responses
200

Success

application/json; api-version=1.0

Allowed IPs Criteria

get/api/PubItems/{id}/Rules/{ruleId}/Criteria/IPs
GET /api/PubItems/{id}/Rules/{ruleId}/Criteria/IPs HTTP/1.1
Accept: */*
{
  "iPv4s": [
    {
      "from": "text",
      "to": "text"
    }
  ],
  "iPv6s": [
    {
      "from": "text",
      "to": "text"
    }
  ]
}

Add

post

Add an IP to the IP List of the Criteria settings.

Path parameters
idinteger · int32Required

The ID of a session server for which to modify the Criteria settings.

ruleIdinteger · int32Required

The ID of the Rule to retrieve.

Body

Add an IP to the Criteria IP list

ipstring · min: 1 · max: 255 · nullableRequired

Value that represents the IP

ipTypestring · enumRequired

IP Version

Possible values:
Responses
201

Created

No content

post/api/PubItems/{id}/Rules/{ruleId}/Criteria/IPs
POST /api/PubItems/{id}/Rules/{ruleId}/Criteria/IPs HTTP/1.1
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 73

{
  "ip": "text",
  "ipType": [
    "0 = Version4",
    "1 = Version6",
    "2 = BothVersions"
  ]
}

No content

Remove

delete

Remove an IP from the IP List of the Criteria settings.

Path parameters
idinteger · int32Required

The ID of a session server for which to modify the Criteria settings.

ruleIdinteger · int32Required

The ID of the Rule to retrieve.

Body

Remove an IP from the Criteria IP list

ipstring · min: 1 · max: 255 · nullableRequired

Value that represents the IP

ipTypestring · enumRequired

IP Version

Possible values:
Responses
204

No Content

No content

delete/api/PubItems/{id}/Rules/{ruleId}/Criteria/IPs
DELETE /api/PubItems/{id}/Rules/{ruleId}/Criteria/IPs HTTP/1.1
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 73

{
  "ip": "text",
  "ipType": [
    "0 = Version4",
    "1 = Version6",
    "2 = BothVersions"
  ]
}

No content