CMD_API_SHOW_RESELLER_CONFIG

Version 1.58

Feature
Finished

Same idea as CMD_API_SHOW_USER_CONFIG, except for Resellers. If called by a Reseller, they'll get their own reseller.conf, regardless of the user= setting. If called by an Admin, without a &user=fred, they'll get their own reseller.conf, else adding user=fred, will show fred's reseller.conf file. If you add both=yes, you'll get the reseller.conf, plus a "user=" variable, with a the reseller.usage encoded into that variable (would need another level of decoding) Added after RC2, so ensure compile time shows within a few minutes of: Compile time: Aug 7 2019 at 13:18:45 usertype=admin|reseller will be appended to all requests, so the response will show the account type.

Interested to try DirectAdmin? Get a 30-day Free Trial!