User
Notifications

Update per-team match alert preferences

Changed on

Partial boolean body for kickoff, goals, periodEnd, final, lineups, and reminder. Unknown keys are ignored. Returns the full flag row. 404 when the user does not follow the team, including archived clubs. A missing row is created with schema defaults for omitted flags.

put/api/user/team-alerts/{teamId}

Request

  • Base URL
    https://app.d-sports.org
  • Auth
    HTTP bearer

Path parameters

teamIdstring required

Request body

kickoffboolean
goalsboolean
periodEndboolean
finalboolean
lineupsboolean
reminderboolean

Response

{ success: true, data: { teamId, kickoff, goals, periodEnd, final, lineups, reminder } }

Changes