API / Billing

DELETE

/billing/subscription

Cancel the subscription

Stops future charges. Access is NOT revoked: the period already paid for keeps entitling until it lapses, and the response carries that date. Idempotent.

Authentification : clé API Bearer requise.

Exemple curl

curl -X DELETE https://api.sporee.fr/billing/subscription \
  -H "Authorization: Bearer $SPORE_API_KEY"

Réponses

StatutDescriptionType
200OKcancel_subscription.Result
401Unauthorizedecho.HTTPError
404no subscriptionecho.HTTPError
503billing is not configuredecho.HTTPError

Source machine : openapi.json · opération cancelBillingSubscription