StatsHub Docs
APIAPI v2V2 endpoint referenceAdmin

/admin/dashboard/leagues/update

PATCH
/admin/dashboard/leagues/update

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 PATCH "https://example.com/admin/dashboard/leagues/update" \  -H "Content-Type: application/json" \  -d '{    "ai_analysis_allowed": true,    "heatmapLoad": true,    "id": 0,    "isFavorite": true,    "predictlineup_allowed": true,    "shotmapLoad": true,    "shouldShow": true  }'
{  "ai_analysis_allowed": true,  "country": "string",  "heatmapLoad": true,  "id": 0,  "isFavorite": true,  "name": "string",  "predictlineup_allowed": true,  "shotmapLoad": true,  "shouldShow": true,  "slug": "string",  "uniqueTournamentId": 0}