cURL
curl --request PUT \ --url https://api.totalis.com/user/username \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "username": "trader_123" } '
{ "username": "<string>" }
Change the authenticated user’s username. Must be 3-20 characters, alphanumeric and underscores only. Cannot be in wallet address format (0x…).
Privy JWT token. Use Authorization: Bearer <token>. Supported for REST API only.
Authorization: Bearer <token>
New username (3-20 chars, alphanumeric + underscores)
Username updated
Was this page helpful?