leagueId. This endpoint can be used to reinitialize league data according to the specified reset mode.| Variable | Description |
|---|---|
leagueId | The unique identifier of the league to reset. Resolved from the {{leagueId}} environment variable. |
| Header | Value |
|---|---|
Content-Type | application/json |
Accept | application/json |
Authorization header:Authorization: Bearer {{token}}token variable should be set in your active environment.{
"mode": 0
}| Field | Type | Description |
|---|---|---|
mode | integer | Specifies the reset mode. 0 indicates a full/default reset. Other values may trigger different reset behaviours depending on the API version. |
Authorization: Bearer ********************curl --location --globoff 'https://api.kickbase.com/v4/leagues//reset' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"mode": 0
}'{}