POST
/
kvm
/
v2
/
cancel
/
product
curl --request POST \
  --url https://order.edisglobal.com/kvm/v2/cancel/product \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data email=yourwhmc_email \
  --data pw=yourwhmcs_password \
  --data kvmid=kvm_xxxxx_yyyyy \
  --data serviceid=1234 \
  --data 'type=End of Billing Period'
{
  "status": "success",
  "serviceid": 123456,
  "clientid": 123
}

Body

application/x-www-form-urlencoded
email
string

Your WHMCS email address.

Example:

"yourwhmc_email"

pw
string

Your WHMCS password.

Example:

"yourwhmcs_password"

kvmid
string

The KVM ID to cancel if the service ID is unknown.

Example:

"kvm_xxxxx_yyyyy"

serviceid
string

The service ID to cancel if the KVM ID is unknown.

Example:

"1234"

type
string

The type of cancellation. Either 'Immediate' or 'End of Billing Period'.

Example:

"End of Billing Period"

Response

200
application/json
Successfully canceled the product.
status
string
Example:

"success"

serviceid
integer
Example:

123456

clientid
integer | null

Was this page helpful?