API Reference

Cancel subscription by id

Cancels a subscription with the specified id

Error codes:

NotFoundA subscription with such an Id cannot be found
AlreadyCancelledThe subscription has already been cancelled
ProrateIsNotAvailableProrate is not available when the subscription status is pending payment
RefundableCreditOptionsIsNotAvailableProrate and full are not available when the subscription status is future or trial
Path Params
string
required
Defaults to your-site-name-1

Name of your project

string
required

Subscription id

Body Params
string

determines how to repay credits

string

Reason for cancellation

boolean
Defaults to false

The property only supports the value 'false'. It is required when the refundableCreditsOption parameter is None

Responses

Language
Credentials
:
Choose an example:
application/json