cURL
curl --request POST \ --url https://api.bunship.com/api/v1/organizations/{orgId}/billing/cancel \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "success": true, "cancelAt": "2024-02-15T10:00:00Z" } }
Cancel the subscription at the end of the current billing period
true
Show data properties
curl -X POST https://api.bunship.com/api/v1/organizations/org_cld2abc123def456/billing/cancel \ -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..."