APIEndpoint referenceDashboard
/dashboard/leagues/update
Only booleans that are actually present are written, so a partial body leaves the rest alone.
Only booleans that are actually present are written, so a partial body leaves the rest alone. The row is read back through the same join the listing uses, so the client can drop the response straight into its table.
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/api/v2/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 }'{ "$schema": "https://example.com/schemas/DashboardLeagueRow.json", "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}
