Accounts

Resets a password for a user that belongs to the password reset ticket.

This will log the user out of all sessions and re-authenticate.

post/v2/passwords/reset

Request body

targetType0 | 1 | 2

['Email' = 0, 'PhoneNumber' = 1, 'RecoverySessionID' = 2]

ticketstring
userIdinteger
passwordstring
passwordRepeatedstring
twoStepVerificationChallengeIdstring
twoStepVerificationTokenstring
accountBlobstring
newEmailstring
passkeySessionIdstring
passkeyRegistrationResponsestring

Response

OK

identityVerificationLoginTicketstring
isBannedboolean
accountBlobstring
shouldUpdateEmailboolean
recoveryEmailstring
passkeyRegistrationSucceededboolean
shouldAutoLoginFromRecoveryboolean
shouldPrompt2svRemovalboolean
shouldPromptPasskeyAdditionboolean
shouldPromptCredentialInvalidationboolean

Changes

Changed in 1 of the 15 revisions of this API.1