cURL
curl --request GET \ --url https://app.d-sports.org/api/cron/leaderboard-reset \ --header 'Authorization: Bearer <token>'
Scheduled job that ends the current leaderboard season and starts a new one. Authenticated via CRON_SECRET Bearer token.
CRON_SECRET for scheduled job endpoints.
{ success, data: { message, ...seasonResult } }
Was this page helpful?