account.updateUsername
Changes username for the current user.
Example
TL schema
Parameters
Name
Type
Description
Accepted characters: a-z (case-insensitive), 0-9 and underscores. Length: 5-32 characters.|
Result
Returns updated information on the user in a User type object.
Possible errors
Code
Type
Description
401
AUTH_KEY_PERM_EMPTY
The temporary auth key must be binded to the permanent auth key to use these methods.
400
USERNAME_INVALID
Unacceptable username
400
USERNAME_NOT_MODIFIED
Username is not different from the current username
400
USERNAME_OCCUPIED
Username is taken
Can bots use this methd ?
yes
Related pages
Last updated