StatsHub Docs
APIAPI v2V2 endpoint referenceAccount

/me/alert-preferences-view

DELETE
/me/alert-preferences-view

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/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X DELETE "https://example.com/me/alert-preferences-view" \  -H "Content-Type: application/json" \  -d '{    "mutedUniqueTournamentIds": [      0    ],    "notify2Fouls": true,    "notify3Fouls": true,    "notify4Fouls": true,    "notify5PlusFouls": true,    "notifyYellowCards": true  }'
{  "eligible": true,  "isLiveAlertActive": true,  "preferences": {    "property1": null,    "property2": null  },  "success": true,  "telegramLinked": true}