Description
This function removes a parked 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
Return |
Type |
Description |
Possible values |
Example |
domain |
string |
Required The parked domain. |
A valid domain on the cPanel account. |
jack.com |
subdomain |
string |
The addon domain or subdomain's parent domain. Note: Use this parameter if the domain addon domain or subdomain is parked on another addon domain or subdomain. |
A valid domain on the cPanel account. |
hill.com |
Returns
Return |
Type |
Description |
Possible values |
Example |
reason |
string |
Whether the function succeeded or failed. |
A string that describes the error or success. |
jack.com was successfully unparked |
result |
boolean |
Whether the function succeeded. |
|
1 |