Description
This function parks a domain on another domain.
Warning:
We strongly recommend that you use UAPI instead of cPanel API 2. However, no equivalent UAPI function exists.
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  | 
 Required The domain name to park.  | 
 A valid domain name.  | 
 example.com  | 
| 
 topdomain  | 
 string  | 
 The domain on which to park the domainparameter's domain. If you do not specify a topdomain value, the function parks the domain domain on the cPanel account's main domain.  | 
 An existing subdomain name on the cPanel account. For example, subdomain if the subdomain is subdomain.example.com  | 
 subdomain  | 
Returns
| 
 Return  | 
 Type  | 
 Description  | 
 Possible values  | 
 Example  | 
| 
 reason  | 
 string  | 
 A message of success or a reason for failure.  | 
 A string that describes the success or error.  | 
 This is an error message.  | 
| 
 result  | 
 boolean  | 
 Whether the function succeeded.  | 
  | 
 1  | 
