Skip to main content
PUT
/
user
/
username
Update Username
curl --request PUT \
  --url https://api.totalis.trade/user/username \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "trader_123"
}
'
{
  "data": {
    "username": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Privy JWT issued to the web dashboard. Sent as Authorization: Bearer <jwt>. The Privy session signer underpins all wallet-signed actions.

Body

application/json
username
string
required

New username (3–20 chars, alphanumeric + underscores).

Required string length: 3 - 20
Pattern: ^[a-zA-Z0-9_]+$

Response

Username updated

data
object