StatsHub Docs
APIEndpoint 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/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.

Authorization

AuthorizationBearer <token>

Supabase access token.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

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