Skip to main content
PATCH
Update username

Authorizations

x-app-id
string
header
required

Your application ID. Required for all app-tier and user-tier routes.

Authorization
string
header
required

JWT access token returned by POST /auth/verify. Required for user-tier routes.

Body

application/json
username
string
Required string length: 3 - 30
Pattern: ^[A-Za-z0-9][A-Za-z0-9._-]{1,28}[A-Za-z0-9]$
confirmAvatar
enum<boolean>
Available options:
true
removeAvatar
enum<boolean>
Available options:
true

Response

200

id
string
required
username
string | null
required
avatarUrl
string | null
required
externalId
string | null
required
isLocationBlocked
boolean
required
accounts
object[]
required
wallets
object[]
required
venueAccounts
object[] | null
required