Description

This function lists the reseller accounts on the server.

Examples 


https://hostname.example.com:2087/cpsess##########/json-api/listresellers
https://hostname.example.com:2087/cpsess##########/xml-api/listresellers
whmapi0 listresellers 

{  
   "reseller":[  
      "bob",
      "bob2",
      "bob3",
      "malcolm"
   ]
}
<listresellers>
    <reseller>bob</reseller>
    <reseller>bob2</reseller>
    <reseller>bob3</reseller>
    <reseller>malcolm</reseller>
</listresellers>

Parameters

This function does not accept parameters.

Returns

ReturnTypeDescriptionPossible valuesExample

reseller

array

An array of the server's reseller accounts.

An array of one or more valid usernames.bob