IPs
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.
Responses
200
Success
application/json; api-version=1.0
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
get
GET /api/LogonHours/{id}/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.
Path parameters
idinteger · int32Required
The ID of a session server for which to modify the Criteria settings.
Body
Add an IP to the Criteria IP list
ipstring | nullableRequired
Value that represents the IP
ipTypestring · enumRequiredPossible values:
IP Version
Responses
201
Created
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
409
Conflict
application/json; api-version=1.0
post
POST /api/LogonHours/{id}/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.
Path parameters
idinteger · int32Required
The ID of a session server for which to modify the Criteria settings.
Body
Remove an IP from the Criteria IP list
ipstring | nullableRequired
Value that represents the IP
ipTypestring · enumRequiredPossible values:
IP Version
Responses
204
No Content
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
delete
DELETE /api/LogonHours/{id}/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?