Description
This function lists domain-level forwarders.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
|
Parameter |
Type |
Description |
Possible values |
Example |
|
domain |
string |
The domain name to query. If you do not use this parameter, the function returns all domain-level forwarders on the cPanel account. |
A valid domain on the cPanel account. |
example.com |
Returns
|
Return |
Type |
Description |
Possible values |
Example |
|
data |
array of hashes |
An array of hashes of domain forwarder information. |
Each hash contains the dest andforward returns. |
|
|
dest |
string |
The forwarded domain. The function returns this value in thedata hash. |
A valid domain on the cPanel account. |
example.com |
|
forward |
string |
The destination domain. The function returns this value in thedata hash. |
A valid domain name. |
forwardtome.com |
