APIEndpoint referenceUser

/user/{id}/favorite-players

PATCH
/api/v2/user/{id}/favorite-players

Path Parameters

id*string

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

curl -X PATCH "https://example.com/api/v2/user/string/favorite-players" \  -H "Content-Type: application/json" \  -d '{    "notes": "string",    "playerId": 0,    "teamId": 0  }'
{  "$schema": "https://example.com/schemas/MessageEnvelope.json",  "message": "string"}