license.cancel
Examples
Cancel a cPanel License
Try it Out
{
"cuid": "L1",
"reason": "Customer requested cancelation",
"when": "endofcycle"
}
{
"code": 5000,
"message": "License \"L1\" was not found."
}
Parameters
| Name | Type | Default |
|---|---|---|
| cuid |
cuid[License,Addon]
|
Required |
| reason |
string
|
Required |
| when |
enum
|
"now" |
| Values: now, endofcycle | ||
Errors
| Code | Name |
|---|---|
| 5000 | LicenseNotFound |
| 0 | LicenceCancelFailed |
HDUS
HDBR
HDMX
HDCO
HDIN
HDUK