Skip to main content
POST
/
api
/
auth
/
password
/
reset-with-code
Reset password using a verification code
curl --request POST \
  --url https://tandem.hlofiys.xyz/api/auth/password/reset-with-code \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "code": "<string>",
  "new_password": "<string>"
}
'
{
  "token": "<string>",
  "refresh_token": "<string>"
}

Body

application/json
email
string
required
code
string
required
new_password
string
required

Response

Password has been successfully reset. Returns a new pair of access and refresh tokens

token
string
required

JWT token

refresh_token
string
required

Refresh token