StatsHub Docs
APIEndpoint referenceSeason

/season/{id}

PUT
/api/season/{id}

Path Parameters

id*integer
Formatint64

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

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