Subscriptions
Cancel Subscription
Cancels a subscription at the end of the current billing period. The operation will fail if canceling this subscription would leave the workspace with insufficient resources for its current usage.
DELETE
Cancel Subscription
Authorizations
Auth0 JWT token for user authentication.
Path Parameters
The unique identifier for the workspace.
Example:
"ws_abc123"
The unique identifier for the billing account (Stripe customer ID).
Example:
"cus_abc123"
The unique identifier for the subscription (Stripe subscription ID).
Example:
"sub_abc123"
Response
200
application/json
Subscription scheduled for cancellation.
The response is of type object
.
Previous
Update SubscriptionA smart endpoint to modify a subscription. Only one type of operation (e.g., `action`, `product_quantities`) is allowed per request.
- `product_quantities`: Sets the complete list of products and their quantities, removing any not specified.
- `add_products`: Adds new products to the subscription without affecting existing ones.
- `remove_products`: Removes specific products from the subscription.
- `action`: Perform a state change like `pause` or `resume`.
Next
Cancel Subscription