API / Account
DELETE
/account
Delete your own account
Cancels the subscription, stops every webhook endpoint and erases every row the tenant owns, then removes the login. Irreversible. Suppressions and unsubscribes are deliberately KEPT: they are the record of who asked not to be emailed, and losing them would resume sending to addresses that bounced or opted out. Session-only — an API key cannot destroy the account it belongs to.
Authentification : clé API Bearer requise.
Exemple curl
curl -X DELETE https://api.sporee.fr/account \
-H "Authorization: Bearer $SPORE_API_KEY"Réponses
| Statut | Description | Type |
|---|---|---|
| 204 | Account deleted | — |
| 401 | Unauthorized | echo.HTTPError |
| 403 | an API key may not delete the account | echo.HTTPError |
| 500 | Internal Server Error | echo.HTTPError |
| 502 | subscription cancellation failed; nothing was deleted | echo.HTTPError |
Source machine : openapi.json · opération deleteAccount