Cancel subscription

http
POST /accounts/{account_id}/subscription/cancel

Schedule the paid subscription of an account to end with its current billing period; returns the canceled subscription. Requires account.billing.manage.

Parameters

NameInRequiredDescription
account_idpathYes

Responses

StatusDescription
200Subscription canceled. Cancellation downgrades the account to the free tier.
400Bad request
401Unauthorized
402Payment required
403Forbidden
404Not found
409Conflict
500Server error
502Billing provider could not verify or cancel the subscription