Skip to main content
PATCH
/
accounts
/
user
Update user
curl --request PATCH \
  --url https://api.quiva.ai/accounts/user \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "first_name": "John",
  "last_name": "Smith",
  "theme": "dark",
  "sound": true
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
email
string

User email (optional, defaults to current user)

first_name
string

First name

last_name
string

Last name

sound
boolean

Enable sound

theme
string

UI theme (light, dark, auto)

totp_enabled
boolean

Enable TOTP authentication

passkey_enabled
boolean

Enable passkey authentication

Response

User updated successfully

message
string