latestOpenAPI 3.1.02026-08-19270462702.4 KB

b92f75fd3b61

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