IP Filters
Retrieve the IP address list for the specified published resource. Deprecated path - Use Criteria section instead.
Path parameters
idinteger · int32Required
ID of the published resource to be updated
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/PubItems/{id}/IPFilters HTTP/1.1
Host:
Accept: */*
{
"allowedIP4s": [
{
"from": "text",
"to": "text"
}
],
"allowedIP6s": [
{
"from": "text",
"to": "text"
}
]
}
Add an IP address to the filter of type 'IP Address' for the specified published resource. Deprecated path - Use Criteria section instead.
Path parameters
idinteger · int32Required
ID of the published resource to be updated
Body
Add an IP address to the filter of type 'IP Address' for the specified published resource
ipstring | nullableRequired
The IP address to add to the filter.
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/PubItems/{id}/IPFilters HTTP/1.1
Host:
Content-Type: application/json; api-version=1.0
Accept: */*
Content-Length: 13
{
"ip": "text"
}
No content
Delete an IP address from the filter of type 'IP Address' for the specified published resource. Deprecated path - Use Criteria section instead.
Path parameters
idinteger · int32Required
ID of the published resource to be updated
ipstringRequired
IP to be deleted from the IP filter
Responses
204
No Content
401
Unauthorized
application/json; api-version=1.0
404
Not Found
application/json; api-version=1.0
delete
DELETE /api/PubItems/{id}/IPFilters/{ip} HTTP/1.1
Host:
Accept: */*
No content
Was this helpful?