Skip to main content
PATCH
/
api
/
account
/
preferences
Update user preferences
curl --request PATCH \
  --url https://macrobymark.com/api/account/preferences \
  --header 'Content-Type: application/json' \
  --cookie next-auth.session-token= \
  --data '
{
  "dashboards": {},
  "watchlistAlertPrefs": {},
  "watchlistAlertDelivery": {},
  "indicatorLibrary": {},
  "chartPrefs": {}
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.macrobymark.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

next-auth.session-token
string
cookie
required

NextAuth.js session cookie

Body

application/json
dashboards
object
watchlistAlertPrefs
object
watchlistAlertDelivery
object
indicatorLibrary
object
chartPrefs
object

Response

200

Updated preferences