Return reseller's available IP addresses

This function lists a reseller's available IP addresses.

SecurityBasicAuth
Request
query Parameters
user
string <username>

A reseller's username, to query only that reseller.

Note:

If you do not specify a value, the function lists available IP addresses for the root user.

Example: user=username
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/getresellerips
Request samples
whmapi1 --output=jsonpretty \
  getresellerips
Response samples
application/json
{
  • "data": {
    • "all": 1,
    • "ip": [
      • "192.168.0.20"
      ]
    },
  • "metadata": {
    • "command": "getresellerips",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}