PUT
/
sdk
/
{environmentId}
/
users

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36

Body

application/json
alias
string
Maximum length: 255
btcWallet
string | null

BTC wallet address

captchaToken
string

When provided, used to verify that a captcha is valid and get the success/failure result from the captcha provider server-side.

ckbWallet
string | null

CKB wallet address

country
string | null

Standard ISO 3166-1 alpha-2 two-letter country code

Maximum length: 255
discordNotification
boolean
dogeWallet
string | null

DOGE wallet address

email
string
Maximum length: 255
emailNotification
boolean
firstName
string
Maximum length: 255
jobTitle
string
Maximum length: 255
kasWallet
string | null

KAS wallet address

kdaWallet
string | null

KDA wallet address

lastName
string
Maximum length: 255
ltcWallet
string | null

LTC wallet address

metadata
object
mfaBackupCodeAcknowledgement
enum<string> | null
Available options:
pending,
complete
newsletterNotification
boolean
phoneNumber
string
Maximum length: 255
team
string
Maximum length: 255
tShirtSize
string
Maximum length: 255
username
string | null

Alphanumeric with slugs and underscores username

Maximum length: 255

Response

200 - application/json
expiresAt
number
required

Format is a unix-based timestamp. When set, this will be the expiration timestamp on the JWT sent using either the jwt field or a response httpOnly cookie set by the server.

nextView
enum<string>
required
Available options:
done,
verify-email,
verified-and-transferred,
verify-sms
user
object
required
emailVerification
object
jwt
string

Encoded JWT token. This will only be returned when cookie-based authentication is disabled in favor of standard Auth header based authentication.

mfaToken
string
minifiedJwt
string

Encoded JWT token. This will only be returned when cookie-based authentication is disabled in favor of standard Auth header based authentication.

smsVerification
object