Skip to main content
PATCH
Update username

Integration guide

Authorizations

x-app-id
string
header
required

Your application ID. Required on app-tier and user-tier routes. Omitted on routes that authenticate with x-app-api-key only.

Authorization
string
header
required

JWT access token from POST /auth/verify. Required with x-app-id on user routes. On the smart-route quote it is optional and turns a preview into an executable quote.

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
otherIdentities
object[]