Reset the user password

post/api/v2/user/resetpassword

Sets a new password and sanction screen new users

Request Body

code string required
Random string verification code that gets appended to the link in the email
email string <email>required
Example: user@example.com
password string required
New user password
version number required
Password encryption version
country string
ISO 3166-1 Alpha-3 country code
Example: USA
dob string
date of birth in the format YYYY-MM-DD
Example: 1994-01-31T00:00:00.000Z
firstName string
First name of new user
lastName string
Last name of new user

200 Response

id string
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
isActive boolean
isFrozen boolean
freezeReason string
Example: Frozen due to suspicious activity
name object
first string
Example: Jane
full string
Example: Jane Doe
last string
Example: Doe
username string <email>
Example: user@example.com
email object
email string <email>
Example: user@example.com
verified boolean
Example: true
phone object
phone string
Example: 408-718-6885
verified boolean
Example: true
country string
Example: USA
state string
Example: New York
kycStatus string
user's overall KYC status
Allowed values: approved pending rejected unverified
Example: approved

400 Response

error string required
Human-readable error message
requestId string required
Client request id
context object
Properties that apply to a specific error name
name string required
Error code

403 Response

error string required
Human-readable error message
requestId string required
Client request id
context object
Properties that apply to a specific error name
name string required
Error code