Organizations
Cancel the subscription
Changed onOpen the Stripe billing portal to cancel the organization's subscription at the end of its period, and return its URL, which comes back to returnUrl (a page of the web app). The organization keeps its plan until then. For a subscription already set to end, returns returnUrl. Requires the billing: ["manage"] permission (owners and admins)
post/api/v1/organizations/{organizationId}/billing/cancel
Request
- Base URLhttps://app.easyscraper.com
- URLhttps://app.easyscraper.com/api/v1/organizations/{organizationId}/billing/cancel
- AuthAPI key in cookie better-auth.session_token
Path parameters
organizationIdstring uuid required
Request body
Response
OK
Changes
- breaking
added
subschema #1to the response bodyoneOflist for the response status
- breaking
- info
endpoint added
- info