Sofa
Account

Update streaming platforms

Set the current user's subscribed streaming platforms.

PUT
/account/platforms
better-auth.session_token<token>

Better Auth session cookie

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

curl -X PUT "http://localhost:3000/api/v1/account/platforms" \  -H "Content-Type: application/json" \  -d '{    "platformIds": [      "string"    ]  }'
Empty