Update user
PUT
/v2/user
Update user information. To enable automatic withdrawals, both auto_withdraw_enabled
and auto_withdraw_lightning_address
must be provided.
Request Body
Body
object
auto_withdraw_enabled
boolean
auto_withdraw_lightning_address
string
nostr_pubkey
string
username
string
use_taproot_addresses
boolean
show_leaderboard
boolean
Responses
200
200
object
uid
required
string
role
required
string
balance
required
number
username
required
string
synthetic_usd_balance
required
number
linkingpublickey
string
show_leaderboard
required
boolean
email
string
email_confirmed
required
boolean
use_taproot_addresses
required
boolean
account_type
required
string
auto_withdraw_enabled
required
boolean
auto_withdraw_lightning_address
string
nostr_pubkey
string
fee_tier
required
number
totp_enabled
required
boolean
webauthn_enabled
required
boolean
metrics
400
400