Cancel a subscription

The CANCELSUBSCRIPTION action cancels the subscription associated with the specified ACME account when bundle-based model is used.

Cancellation removes all domains from the subscription inventory and removes all purchased bundle capacity from the Wallet.

If cancellation occurs within 30 days of the subscription start date, a full refund may be issued for the subscription.

Bundles are not treated as individually refundable items. Any refund is applied to the subscription as a whole.

If cancellation occurs after the refund period, the subscription is cancelled but no refund is issued.

Action: CANCELSUBSCRIPTION

Variable Name Type Max. Length Description

loginName

string

64 chars

Your account username.

This value is case sensitive.

loginPassword

string

128 chars

Your account password.

This value is case sensitive.

action

string

30 chars

The action to be taken.

In this case, the value is: CANCELSUBSCRIPTION.

acmeAccountID

string

32 chars

Your Base64 URL-encoded ACME account ID.

Sample request

curl --location --request POST 'https://secure.trust-provider.com/products/!ACMEAdmin' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'loginName=loginName' \
--data-urlencode 'loginPassword=loginPassword' \
--data-urlencode 'action=CANCELSUBSCRIPTION' \
--data-urlencode 'acmeAccountID=ABc_123xYZ456'

Response

Response parameters

The response may contain the following parameters:

Parameter Type Description

success

boolean

The status of the request.

cancelledDomains

array

A list of domains that were cancelled as part of the subscription cancellation.

cancelledBundles

number

The number of bundles that were cancelled as part of the subscription cancellation.

Sample success response

{
  "success": true,
  "cancelledDomains": [
    "domain.com"
  ],
  "cancelledBundles": 1
}