StatsHub Docs
APIEndpoint referenceDashboard

/dashboard/team-sportsmonk-mapping

Only the provider's name is editable.

PUT
/api/dashboard/team-sportsmonk-mapping

Only the provider's name is editable. The team id is the join key and changing it would silently repoint the mapping at a different club.

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/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/api/dashboard/team-sportsmonk-mapping" \  -H "Content-Type: application/json" \  -d '{    "teamId": 0,    "teamName": "string"  }'
{  "data": {    "teamId": 0,    "teamName": "string"  },  "message": "string"}