StatsHub Docs
APIAPI v2V2 endpoint referenceV2

/seasons/{seasonId}

Updates a season.

PUT
/seasons/{seasonId}

Updates a season.

Path Parameters

seasonId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

curl -X PUT "https://example.com/seasons/string" \  -H "Content-Type: application/json" \  -d '{    "editor": true,    "id": 0,    "name": "string",    "tournamentId": 0,    "year": "string"  }'
{  "message": "string"}