TwentyThree Developer APIAPI Method: /api/setting/list-ip-ranges

API Method: /api/setting/list-ip-ranges

Last updated on August 19, 2016.

List whitelisted IP ranges for the account.

Permission level

The minimum required permission level is:

admin

Example XML Response

<response status="ok" permission_level="super" cached="0" user_ip_address="80.163.48.86">
  <range from_ip="102.244.50.0" to_ip="102.244.50.255" comment="Example range"/>
  <range from_ip="80.163.48.86" to_ip="80.163.48.86" comment=""/>
</response>

Example JSON Response

{
  "status": "ok", 
  "permission_level":"super",
  "cached":"0",
  "ranges":[
      {
        "from_ip": "102.244.50.0", 
        "to_ip": "102.244.50.255", 
        "comment": "Example range"
      },
      {
        "from_ip": "80.163.48.86", 
        "to_ip": "80.163.48.86", 
        "comment": ""
      }],
  "user_ip_address":"80.163.48.86",
  "p": "1",
  "size": "1",
  "site": {...},
  "endpoint": "/api/setting/list-ip-ranges"
}