Skip to main content
POST
https://api.bunship.com
/
api
/
v1
/
organizations
/
{orgId}
/
billing
/
cancel
Cancel Subscription
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"
  }
}
Cancels the organization’s subscription. The subscription remains active until the end of the current billing period, then downgrades to the free plan.

Auth

Requires a valid Bearer token. User must be a member of the organization.

Path Parameters

orgId
string
required
Organization identifier.

Response

success
boolean
Always true on success.
data
object
{
  "success": true,
  "data": {
    "success": true,
    "cancelAt": "2024-02-15T10:00:00Z"
  }
}

Example

curl -X POST https://api.bunship.com/api/v1/organizations/org_cld2abc123def456/billing/cancel \
  -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIs..."