Skip to content

Start reset by password

Request

Validates the current password and returns a reset token, which enables changing the user`s password

Bodyapplication/jsonrequired
prev_reset_tokenstring

Reset token that contains mfa_required as true. Should be passed when initiating a second factor authentication, in case MFA is required for password reset flows.

usernamestring

The user's username. Pass either username or email, but not both.

emailstring

The user's primary email address. Pass either username or email, but not both.

phone_numberstring

The user's primary phone number. Pass only one of username, email, or phone_number, but not both.

passwordstringrequired

The user's current password

client_idstringrequired
curl -i -X POST \
  https://api.sbx.transmitsecurity.io/cis/v1/auth/password/reset/password/validate \
  -H 'Content-Type: application/json' \
  -d '{
    "prev_reset_token": "string",
    "username": "string",
    "email": "string",
    "phone_number": "string",
    "password": "string",
    "client_id": "string"
  }'

Responses

Bodyapplication/json
resultstringrequired

Reset token to be used when sending a reset request (/auth/password/reset)

Response
{ "result": "string" }