Skip to main content
POST
Cancel a local subscription
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

POST /billing/subscriptions//cancel Cancels the subscription in Stripe first, then the local record, and invalidates the subscription cache. Authorization:
  • Required role: owner only

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

id
string<uuid>
required

Response

Subscription cancelled

status
string
Example:

"success"

message
string
data
object