Cancel a subscription
Cancels a subscription at the end of the current billing period. This operation cannot be performed if it would leave the workspace or billing account with insufficient capacity for its current resource usage.
Authorizations
Enter your JWT in the format: Bearer {token}
Path Parameters
The ID of the workspace.
"ws_a1b2c3d4e5f6g7h8"
The ID of the billing account, which corresponds to a Stripe Customer ID (cus_...).
"cus_a1b2c3d4e5f6g7h8"
The ID of the Stripe subscription (sub_...).
"sub_a1b2c3d4e5f6g7h8"
Response
The subscription was successfully scheduled for cancellation.