Cancel the subscription
Requires organization:update. Returns the URL of the Stripe Customer Portal’s cancellation page. Answers 404 without a current subscription, and 409 when it is already set to be canceled.
POST
/organizations/{organizationId}/billing/subscription/cancelAuthorization
AuthorizationBearer token (JWT) · headerrequiredAn access token issued by this service (RFC 9068), in the Authorization header as Bearer <token>.
Path parameters
organizationIdstring<uuid>requiredRequest body
requiredapplication/jsonreturn_urlstring<uri>requiredA console URL Stripe returns to.
Responses
200
The Stripe page to open.
urlstring<uri>requireddefault
The request failed.
errorstringrequiredStable machine-readable code.
Allowed:
invalid_requestunauthorizedforbiddennot_foundconflictgoneunavailableinternalmessagestringrequiredHuman-readable explanation.