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

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

Last updated on August 19, 2016.

Add one or more IP ranges to white-list for the account.

Parameters

ParameterDescription
ranges One or more ranges to be added to the white-list. Ranges are line-separated and can be in the forms specified below. Ranges may optionally be followed by a text comment for the range.

Ranges can be in these forms:

103.244.50.0/24
102.244.50.0-102.244.50.255
80.163.48.86

Any range may be follow by a comment:

80.163.48.86 My local IP address

Permission level

The minimum required permission level is:

admin

Example XML Response

<response status="ok" permission_level="admin" 
  message="The range(s) were added" cached="0"/>

Example JSON Response

{
  "status": "ok", 
  "message":"The range(s) were added",
  "permission_level":"admin",
  "cached":"0",
  "p": "1",
  "size": "1",
  "site": { ... },
  "endpoint": "/api/setting/add-ip-ranges"
}