Skip to main content
PATCH
/
v1
/
users
/
me
Update User Profile
curl --request PATCH \
  --url https://api.superdocs.app/v1/users/me \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "display_name": "<string>",
  "timezone": "<string>",
  "language": "<string>",
  "preferences": {}
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Update user profile fields.

display_name
string | null

New display name.

Maximum string length: 255
timezone
string | null

IANA timezone (e.g., 'America/New_York').

Maximum string length: 100
language
string | null

Preferred language code (e.g., 'en', 'es').

Maximum string length: 10
preferences
Preferences · object

User preferences to update (e.g., {approval_mode: 'ask_every_time', model_tier: 'pro'}).

Response

Successful Response