IP Filters

Deprecated

Get IP filter

get

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
get
GET /api/PubItems/{id}/IPFilters HTTP/1.1
Host: 
Accept: */*
{
  "allowedIP4s": [
    {
      "from": "text",
      "to": "text"
    }
  ],
  "allowedIP6s": [
    {
      "from": "text",
      "to": "text"
    }
  ]
}
Deprecated

Add IP filter

post

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
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

Deprecated

Delete IP filter

delete

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
delete
DELETE /api/PubItems/{id}/IPFilters/{ip} HTTP/1.1
Host: 
Accept: */*

No content

Was this helpful?