Cancel subscription
Cancels an active subscription, either immediately or at a specified time such as end of billing period.
Authorizations
Server API Key
Headers
Account ID — optional when authenticating with a user JWT (Bearer token); falls back to the user's first membership. Ignored for API-key auth.
Environment ID — required when authenticating with a user JWT (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the key).
Path Parameters
The unique identifier of the entity
1 - 255Body
Cancel a subscription with configurable timing and action. Supports immediate cancellation, end-of-period cancellation, or cancellation on a specific date with optional prorated refunds.
Subscription end date
Action on cancellation (downgrade or revoke)
DEFAULT, REVOKE_ENTITLEMENTS When to cancel (immediate, period end, or date)
END_OF_BILLING_PERIOD, IMMEDIATE, SPECIFIC_DATE If set, enables or disables prorating of credits on subscription cancellation.
Response
The subscription object reflecting the cancellation.
Response object
Customer subscription to a plan
