v2

latestOpenAPI 3.1.02026-08-05267431678.1 KB
billing

Cancel Subscription

Cancel the team's subscription with a usage-netted pro-rated refund.

The single in-app cancellation entry point. Eligible teams (the grandfathered legacy cohort, once per card fingerprint) receive a pro-rated refund of unused subscription time minus the value of inference consumed this period. The subscription is cancelled immediately and the team is downgraded to free.

Requires: MANAGE_BILLING permission (owner, admin, or billing role).

post/billing/team/{team_id}/cancel-subscription

Path parameters

team_idstring required

Response

Successful Response

successboolean required
messagestring required
refunded_centsinteger