Skip to main content
PATCH
/
api
/
account
/
profile
Update user profile
curl --request PATCH \
  --url https://macrobymark.com/api/account/profile \
  --header 'Content-Type: application/json' \
  --cookie next-auth.session-token= \
  --data '
{
  "firstName": "<string>",
  "lastName": "<string>",
  "occupation": "<string>",
  "experienceLevel": "<string>",
  "focusAreas": [
    "<string>"
  ],
  "countryCode": "<string>"
}
'

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
firstName
string
lastName
string
occupation
string
experienceLevel
string
focusAreas
string[]
countryCode
string

Response

200

Updated profile