StatsHub Docs
Endpoint referenceDashboard

/dashboard/bot/position-change-avoid-rules

Switching a rule from group scope to global clears its group, so the rule does not keep a stale association it no longer honours.

PUT
/api/v2/dashboard/bot/position-change-avoid-rules

Switching a rule from group scope to global clears its group, so the rule does not keep a stale association it no longer honours.

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

curl -X PUT "https://example.com/api/v2/dashboard/bot/position-change-avoid-rules" \  -H "Content-Type: application/json" \  -d '{    "enabled": true,    "id": 0,    "leagueGroupId": 0,    "ruleType": "string"  }'
null