StatsHub Docs
APIEndpoint referenceAccount

/v2/me/favorite-teams/{teamId}

Update favorite team notes

PATCH
/api/v2/me/favorite-teams/{teamId}

Update favorite team notes

Authorization

AuthorizationBearer <token>

Supabase access token.

In: header

Path Parameters

teamId*string

Opaque resource ID

Match^[1-9][0-9]*$

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 PATCH "https://example.com/api/v2/me/favorite-teams/string" \  -H "Content-Type: application/json" \  -d '{    "notes": "string"  }'
{  "data": {    "id": "string",    "notes": "string"  }}