PUT
/
sdk
/
{environmentId}
/
users

Authorizations

Authorization
string
headerrequired

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

Path Parameters

environmentId
string
required

ID of the environment

Body

application/json
email
string
alias
string
firstName
string
lastName
string
jobTitle
string
phoneNumber
string
tShirtSize
string
team
string
policiesConsent
boolean
country
string | null

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

username
string | null

Alphanumeric with slugs and underscores username

captchaToken
string

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

metadata
object
mfaBackupCodeAcknowledgement
enum<string> | null
Available options:
pending,
complete
btcWallet
string | null

BTC wallet address

kdaWallet
string | null

KDA wallet address

ltcWallet
string | null

LTC wallet address

ckbWallet
string | null

CKB wallet address

kasWallet
string | null

KAS wallet address

dogeWallet
string | null

DOGE wallet address

emailNotification
boolean
discordNotification
boolean
newsletterNotification
boolean

Response

200 - application/json
mfaToken
string
jwt
string

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

user
object
required
minifiedJwt
string

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

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
emailVerification
object
smsVerification
object

Was this page helpful?