user

Update current user

Changed on
patch/v1/users/me

Request

  • Base URL
    https://app.legend.trade/api/rest
  • URL
    https://app.legend.trade/api/rest/v1/users/me
  • Auth
    HTTP bearer

Request body

usernamestring
displayNamestring
avatarUrlstring uri
featureImageUrlstring uri
biostring nullable
completedOnboardingboolean
dismissedTradeNoteCtaboolean
networkMode'hyperliquid_mainnet' | 'hyperliquid_testnet' | 'hyperliquid_paper'
restrictDmsToFollowingboolean
minDmAccountValueUsdnumber
acknowledgedSeasonZeroboolean
traderLevelSeeninteger
maxMarketOrderSlippagenumber nullable
clearMaxMarketOrderSlippageboolean

Response

Successful response

idstring required
telegram_idstring nullable required
telegram_usernamestring nullable required
usernamestring required
display_namestring required
referral_codestring nullable required
referral_code_altstring nullable required
referred_by_idstring nullable required
privy_user_idstring required
deletion_requested_atstring nullable required
wallet_addressstring nullable required
created_atstring required
updated_atstring required
chat_banned_atstring nullable required
x_usernamestring nullable required
last_onlinestring nullable required
last_online_mobilestring nullable required
avatar_urlstring required
biostring nullable required
clan_idstring nullable required
rankinteger nullable required
rank_testnetinteger nullable required
streakinteger nullable required
elointeger nullable required
is_npcboolean required
last_reset_atstring nullable required
knock_synced_atstring nullable required
feature_imagestring required
moonpay_deposit_customer_tokenstring nullable required
completed_onboardingboolean required
dismissed_trade_note_ctaboolean required
has_depositedboolean required
invite_code_idstring nullable required
main_signer_quorum_idstring nullable required
wallet_mfa_enabledboolean required
referral_bonus_ratenumber required
referral_bonus_overridenumber nullable required
builder_fee_overrideinteger nullable required
fee_rebate_ratenumber nullable required
fee_rebate_override_ratenumber nullable required
clan_fee_rebate_ratenumber nullable required
deleted_atstring nullable required
network_mode'hyperliquid_testnet' | 'hyperliquid_mainnet' | 'hyperliquid_paper' required
min_dm_account_value_usdnumber required
restrict_dms_to_followingboolean required
single_auth_notified_atstring nullable required
pnl_share_enabledboolean required
pnl_share_ratenumber required
acknowledged_season_zeroboolean required
notification_preferencesunknown required
fat_finger_settingsunknown required
account_value_tierinteger required
is_officialboolean required
trader_level_seeninteger nullable required
max_market_order_slippagenumber nullable required

Changes

    • info

      added the required property to the response with the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property // became nullable for the status

    • breaking

      the response property became nullable for the status

    • info

      response property bio list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property chat_banned_at list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property clan/anyOf[subschema #1]/banner_url list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property clan/anyOf[subschema #1]/chat_room_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property clan/anyOf[subschema #1]/description list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property clan/anyOf[subschema #1]/image_url list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property clan_fee_rebate_rate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property clan_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property deleted_at list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property fee_rebate_override_rate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property fee_rebate_rate list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property invite_code_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property knock_synced_at list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property last_online list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property last_online_mobile list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property last_reset_at list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property main_signer_quorum_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property max_market_order_slippage list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property moonpay_deposit_customer_token list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property referral_bonus_override list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property referral_code list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property referral_code_alt list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property referred_by_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property single_auth_notified_at list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property telegram_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property telegram_username list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property wallet_address list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property wallets/items/signer_quorum_id list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property x_username list-of-types was narrowed by removing types null from media type application/json of response 200