Trigger Nightly Prune
Trigger the nightly prune: DELETE rows where date < today OR expired_at IS NOT NULL.
JSON body (all optional): cutoff_date: prune rows with date < this. Default: today (UTC). max_rows: hard cap on rows deleted in this run. Default: 5,000,000.
Returns immediately; runs in a background thread. Poll /api/admin/archive/status for progress.
post/api/admin/archive/run-nightly
Request
- Base URL: https://www.awardflightdaily.com (the document declares no server; this is the origin it was published from)
- URL: https://www.awardflightdaily.com/api/admin/archive/run-nightly
- Auth: none declared
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.