StatsHub Docs
APIAPI v2V2 endpoint referenceAdmin

/admin/player-assignments/reconcile

POST
/admin/player-assignments/reconcile

Authorization

AuthorizationBearer <token>

Supabase access token.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://example.com/admin/player-assignments/reconcile" \  -H "Content-Type: application/json" \  -d '{    "options": {      "batchSize": 0,      "dryRun": true,      "forceRefresh": true    },    "playerIds": [      0.1    ],    "teamId": 0,    "tournamentId": 0  }'
{  "batchSize": 0,  "batchesQueued": 0,  "dryRun": true,  "errors": null,  "messageIds": [    "string"  ],  "success": true,  "totalPlayers": 0}