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

Authorizations

TOTALIS_API_KEY
string
header
required

API key for programmatic access. Generate from the Totalis Dashboard. Format: api_live_xxxxxxxxxxxxxxxxxxxxx. Supported for REST API and WebSocket.

Body

application/json
username
string
required

New username (3-20 chars, alphanumeric + underscores)

Pattern: ^[a-zA-Z0-9_]{3,20}$

Response

Username updated

username
string