domain_list_email_subdomain ()
List all email subdomains for selected domain.
HTTP Method: | GET | |||
---|---|---|---|---|
Parameters: | sid | session id* | ||
domain_id | unique id of selected domain* | |||
Returns: | HTTP code | 200 (OK) | ||
email_subdomains | array of elements - each element contain: | email_subdomain_id | unique id | |
name | name of subdomain | |||
trash | mailbox for all unmatched email recipient of domain | |||
smtp_route | different SMTP server |
CURL
curl "https://admin.systems90.cz/api/domain_list_email_subdomain?sid=%sid%&domain_id=%domain_id%"
PHP Library
$api->domain_list_email_subdomain(array(
'domain_id' => %domain_id%,
));
Example of data output
<?xml version="1.0" encoding="UTF-8"?>
<reply>
<status>
<code>0</code>
<text>OK</text>
</status>
<email_subdomains>
<email_subdomain>
<email_subdomain_id>46227</email_subdomain_id>
<name>example.com</name>
<trash />
<smtp_route />
</email_subdomain>
</email_subdomains>
</reply>