Hi,
I found this answer on the forum from support:
"Added:
http://www.directadmin.com/features.php?id=330
It's for Users.. Admins/Resellers can just use the admin|user feature if they need the list.
John"
However I can not get list of all subdomains as admin
All users are under the admin account, but I still get this error:
[error] => 1 [text] => Unable to show subdomains [details] => You do not own that domain
This is after executing command:
$domainArray['domain'] = $domain;
$this->query('/CMD_API_SUBDOMAINS',$domainArray);
while logged in as main admin user.
http://1.2.3.4:2222/CMD_SUBDOMAINS
Gives me:
The request you've made cannot be executed because it does not exist in your authority level
----
So, question is:
How can I, logged in as Admin get list of all Subdomains based on a main domain?
Thanx!
Aleks
I found this answer on the forum from support:
"Added:
http://www.directadmin.com/features.php?id=330
It's for Users.. Admins/Resellers can just use the admin|user feature if they need the list.
John"
However I can not get list of all subdomains as admin

All users are under the admin account, but I still get this error:
[error] => 1 [text] => Unable to show subdomains [details] => You do not own that domain
This is after executing command:
$domainArray['domain'] = $domain;
$this->query('/CMD_API_SUBDOMAINS',$domainArray);
while logged in as main admin user.
http://1.2.3.4:2222/CMD_SUBDOMAINS
Gives me:
The request you've made cannot be executed because it does not exist in your authority level
----
So, question is:
How can I, logged in as Admin get list of all Subdomains based on a main domain?
Thanx!
Aleks