Skip to main content
POST
Reset a forgotten password

Body

application/json

Send exactly one of email or phone.

token
string
required

The reset code you received.

password
string
required

The new password.

email
string<email>
phone
string

Iranian mobile number in the form 09XXXXXXXXX.

Pattern: ^09\d{9}$
Example:

"09120000000"

Response

The password was changed. The response body is empty.