admin

Purge Old Transactions Endpoint

Delete coin_transactions older than the retention window (default 5 years, see app_settings.coin_tx_retention_years).

The user-facing «История трат» footer says "История хранится 5 лет" — this endpoint is what enforces that promise. Cloud Scheduler job stellara-purge-tx runs it nightly at 03:00 UTC; an admin can also trigger it manually from the admin panel.

Idempotent — re-running on the same day after a sweep returns deleted=0.

post/api/admin/purge-old-transactions

Request

  • Base URL: https://api.stellara.natlex.it (the document declares no server; this is the origin it was published from)
  • URL: https://api.stellara.natlex.it/api/admin/purge-old-transactions
  • Auth: none declared

Headers

authorizationstring nullable
X-Cron-Secretstring nullable

Response

Successful Response

statusstring required
deletedinteger required
retention_yearsinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.