Skip to main content
POST
Cancel subscription

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Body

application/json

Details of the cancellation. Every field is optional.

reason
string
default:""

Why you're cancelling, up to 100 characters. Saved with the cancellation.

Maximum string length: 100
Example:

"Too expensive"

feedback
string
default:""

Anything else you want to tell Base44, up to 2,500 characters.

Maximum string length: 2500
Example:

"We only needed it for one launch."

missing_features_description
string
default:""

Features you were missing, up to 500 characters.

Maximum string length: 500
Example:

"A Salesforce connector."

true to cancel right away and take the refund shown by Preview ILS refund. Ignored when that preview isn't eligible, except that a plan that stopped qualifying since returns 409. Defaults to false.

Example:

false

cancellation_selection
CancellationSelection · object | null

Which apps stay published if the workspace is over the Free plan's app limit when the plan ends. Leave it out to unpublish nothing.

Example:

Response

The subscription is canceled, at the end of the period or right away.

The outcome of a cancellation.

success
boolean
required

Always true. A failure returns an error status instead.

Example:

true

ils_refund
ImmediateRefund · object | null

Returned only when the subscription was canceled right away with a refund.