StatsHub Docs
Endpoint referenceDashboard

/dashboard/bot/league-groups/{id}/leagues

The ids come from the request body rather than the query string, which is unusual for a DELETE but is what the client sends.

DELETE
/api/v2/dashboard/bot/league-groups/{id}/leagues

The ids come from the request body rather than the query string, which is unusual for a DELETE but is what the client sends.

Path Parameters

id*string

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

application/problem+json

curl -X DELETE "https://example.com/api/v2/dashboard/bot/league-groups/string/leagues" \  -H "Content-Type: application/json" \  -d '{    "tournamentIds": [      0    ]  }'
[  {    "name": "string",    "slug": "string",    "tournamentId": 0,    "uniqueTournamentId": 0  }]