cURL
curl --request POST \ --url https://app.d-sports.org/api/admin/leagues/sync \ --header 'Authorization: Bearer <token>'
Manually triggers a full league sync from the GitHub leagues repository. Requires admin role.
Clerk session token. Use Authorization: Bearer .
{ success, data: { created, updated, errors, total } }
Was this page helpful?